[PATCH] libata: Move ata_probe_ent_alloc to libata_core
[deliverable/linux.git] / include / linux / sem.h
index 106f9757339a54aeffc52a440129b5827040c8c1..9aaffb0b1d81e9ebfee3c9731209a23fac42223e 100644 (file)
@@ -2,7 +2,6 @@
 #define _LINUX_SEM_H
 
 #include <linux/ipc.h>
-#include <asm/atomic.h>
 
 /* semop flags */
 #define SEM_UNDO        0x1000  /* undo the operation on exit */
@@ -78,6 +77,9 @@ struct  seminfo {
 #define SEMUSZ  20             /* sizeof struct sem_undo */
 
 #ifdef __KERNEL__
+#include <asm/atomic.h>
+
+struct task_struct;
 
 /* One semaphore structure for each semaphore in the system. */
 struct sem {
This page took 0.028164 seconds and 5 git commands to generate.