debuggers.hg
view xen/include/xen/percpu.h @ 0:7d21f7218375
Exact replica of unstable on 051908 + README-this
author | Mukesh Rathor |
---|---|
date | Mon May 19 15:34:57 2008 -0700 (2008-05-19) |
parents | |
children | b22f9ab1716a |
line source
1 #ifndef __XEN_PERCPU_H__
2 #define __XEN_PERCPU_H__
4 #include <xen/config.h>
5 #include <asm/percpu.h>
7 /* Preferred on Xen. Also see arch-defined per_cpu(). */
8 #define this_cpu(var) __get_cpu_var(var)
10 /* Linux compatibility. */
11 #define get_cpu_var(var) this_cpu(var)
12 #define put_cpu_var(var)
14 #endif /* __XEN_PERCPU_H__ */