local-var.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
9fd9f5b038
commit
f2e5429874
|
@ -49,6 +49,11 @@
|
|||
preempt_enable(); \
|
||||
} while (0)
|
||||
|
||||
#define get_local_var(var) get_cpu_var(var)
|
||||
#define put_local_var(var) put_cpu_var(var)
|
||||
#define get_local_ptr(var) get_cpu_ptr(var)
|
||||
#define put_local_ptr(var) put_cpu_ptr(var)
|
||||
|
||||
/* minimum unit size, also is the maximum supported allocation size */
|
||||
#define PCPU_MIN_UNIT_SIZE PFN_ALIGN(32 << 10)
|
||||
|
||||
|
|
Loading…
Reference in New Issue