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

Next file: linux/include/linux/mm.h
Previous file: linux/include/asm-i386/uaccess.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.5/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
@@ -123,6 +121,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