DEVEL15-linux-2-6-27-20080816
[openafs.git] / src / afs / sysincludes.h
index 09a87e0..07c5add 100644 (file)
@@ -108,7 +108,11 @@ struct xfs_inode_info {
 #include <linux/mm.h>
 #include <linux/slab.h>
 #include <linux/string.h>
+#if defined(LINUX_SEMAPHORE_H)
+#include <linux/semaphore.h>
+#else
 #include <asm/semaphore.h>
+#endif
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
 #include <linux/mutex.h>
 #endif