aboutsummaryrefslogtreecommitdiff
path: root/arch/um/include/asm/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/asm/atomic.h')
-rw-r--r--arch/um/include/asm/atomic.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/um/include/asm/atomic.h b/arch/um/include/asm/atomic.h
new file mode 100644
index 00000000000..b683f1034d1
--- /dev/null
+++ b/arch/um/include/asm/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