aboutsummaryrefslogtreecommitdiff
path: root/include/asm-um/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-um/atomic.h')
-rw-r--r--include/asm-um/atomic.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-um/atomic.h b/include/asm-um/atomic.h
new file mode 100644
index 00000000000..b683f1034d1
--- /dev/null
+++ b/include/asm-um/atomic.h
@@ -0,0 +1,11 @@
+#ifndef __UM_ATOMIC_H
+#define __UM_ATOMIC_H
+
+/* The i386 atomic.h calls printk, but doesn't include kernel.h, so we
+ * include it here.
+ */
+#include "linux/kernel.h"
+
+#include "asm/arch/atomic.h"
+
+#endif