summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2011-06-27 23:18:05 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2011-06-28 01:00:12 (GMT)
commit8c95aa60d2ae3c4e63705ee0f18e155898b09662 (patch)
tree409dc8ef68a1487c02b6fff29c0a73393a5fc152 /arch
parent31c1771cdbf0edea96e109e24dae387d331b6d96 (diff)
downloadlinux-8c95aa60d2ae3c4e63705ee0f18e155898b09662.tar.xz
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>
Diffstat (limited to 'arch')
-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 */