summaryrefslogtreecommitdiff
path: root/arch/um
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 /arch/um
parent31c1771cdbf0edea96e109e24dae387d331b6d96 (diff)
downloadlinux-3.10-8c95aa60d2ae3c4e63705ee0f18e155898b09662.tar.gz
linux-3.10-8c95aa60d2ae3c4e63705ee0f18e155898b09662.tar.bz2
linux-3.10-8c95aa60d2ae3c4e63705ee0f18e155898b09662.zip
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/um')
-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 00000000000..efe7508d8ab
--- /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 */