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)
194
194
195
195
/* x86 can always read an rmid, nothing needs allocating */
196
196
struct 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 )
198
199
{
199
200
might_sleep ();
200
201
return NULL ;
201
- };
202
+ }
202
203
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 ) { }
205
207
206
208
u64 resctrl_arch_get_prefetch_disable_bits (void );
207
209
int resctrl_arch_pseudo_lock_fn (void * _plr );
You can’t perform that action at this time.
0 commit comments