patch-2.0.24 linux/include/linux/fs.h

Next file: linux/include/linux/if_arp.h
Previous file: linux/include/linux/fddidevice.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.23/linux/include/linux/fs.h linux/include/linux/fs.h
@@ -16,8 +16,6 @@
 #include <linux/kdev_t.h>
 #include <linux/ioctl.h>
 
-#include <asm/semaphore.h>
-
 /*
  * It's silly to have NR_OPEN bigger than NR_FILE, but I'll fix
  * that later. Anyway, now the file code is no longer dependent
@@ -121,6 +119,7 @@
 
 #ifdef __KERNEL__
 
+#include <asm/semaphore.h>
 #include <asm/bitops.h>
 
 extern void buffer_init(void);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov