File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -194,14 +194,16 @@ static inline u32 resctrl_arch_rmid_idx_encode(u32 ignored, u32 rmid)
194194
195195/* x86 can always read an rmid, nothing needs allocating */
196196struct rdt_resource ;
197- static inline void * resctrl_arch_mon_ctx_alloc (struct rdt_resource * r , int evtid )
197+ static inline void * resctrl_arch_mon_ctx_alloc (struct rdt_resource * r ,
198+ enum resctrl_event_id evtid )
198199{
199200 might_sleep ();
200201 return NULL ;
201- };
202+ }
202203
203- static inline void resctrl_arch_mon_ctx_free (struct rdt_resource * r , int evtid ,
204- void * ctx ) { };
204+ static inline void resctrl_arch_mon_ctx_free (struct rdt_resource * r ,
205+ enum resctrl_event_id evtid ,
206+ void * ctx ) { }
205207
206208void resctrl_cpu_detect (struct cpuinfo_x86 * c );
207209
You can’t perform that action at this time.
0 commit comments