linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / linux / sem.h
index 9aaffb0..3c1f112 100644 (file)
@@ -2,6 +2,7 @@
 #define _LINUX_SEM_H
 
 #include <linux/ipc.h>
+#include <asm/atomic.h>
 
 /* semop flags */
 #define SEM_UNDO        0x1000  /* undo the operation on exit */
@@ -77,7 +78,6 @@ struct  seminfo {
 #define SEMUSZ  20             /* sizeof struct sem_undo */
 
 #ifdef __KERNEL__
-#include <asm/atomic.h>
 
 struct task_struct;