summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2011-06-27 16:18:05 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-06-27 18:00:12 -0700
commit8c95aa60d2ae3c4e63705ee0f18e155898b09662 (patch)
tree409dc8ef68a1487c02b6fff29c0a73393a5fc152
parent31c1771cdbf0edea96e109e24dae387d331b6d96 (diff)
downloadop-kernel-dev-8c95aa60d2ae3c4e63705ee0f18e155898b09662.zip
op-kernel-dev-8c95aa60d2ae3c4e63705ee0f18e155898b09662.tar.gz
um: add asm/percpu.h
To make SLUB work on UML we need this_cpu_cmpxchg from asm-generic/percpu.h. Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--arch/um/include/asm/percpu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/um/include/asm/percpu.h b/arch/um/include/asm/percpu.h
new file mode 100644
index 0000000..efe7508
--- /dev/null
+++ b/arch/um/include/asm/percpu.h
@@ -0,0 +1,6 @@
+#ifndef __UM_PERCPU_H
+#define __UM_PERCPU_H
+
+#include <asm-generic/percpu.h>
+
+#endif /* __UM_PERCPU_H */
OpenPOWER on IntegriCloud