local-var.patch

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Thomas Gleixner 2011-06-24 18:40:37 +02:00 committed by Alibek Omarov
parent 9fd9f5b038
commit f2e5429874
1 changed files with 5 additions and 0 deletions

View File

@ -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)