mirror of
https://github.com/torvalds/linux.git
synced 2026-09-14 16:10:02 +02:00
asm-generic/runtime-const: Add dummy runtime_const_mask_32()
Add a dummy runtime_const_mask_32() for all the architectures that do not support runtime-const. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: K Prateek Nayak <kprateek.nayak@amd.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Charlie Jenkins <thecharlesjenkins@gmail.com> Tested-by: Charlie Jenkins <thecharlesjenkins@gmail.com> Link: https://patch.msgid.link/20260227161841.GH606826@noisy.programming.kicks-ass.net Link: https://patch.msgid.link/20260728052540.4728-8-kprateek.nayak@amd.com
This commit is contained in:
parent
cf0de88094
commit
cb9362dddc
|
|
@ -10,6 +10,7 @@
|
|||
*/
|
||||
#define runtime_const_ptr(sym) (sym)
|
||||
#define runtime_const_shift_right_32(val, sym) ((u32)(val)>>(sym))
|
||||
#define runtime_const_mask_32(val, sym) ((u32)(val)&(sym))
|
||||
#define runtime_const_init(type,sym) do { } while (0)
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user