[lkml]   [2001]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectMake fat compile again
The following makes fat/inode.c compile on ARM systems (and probably
many others).

fat/inode.c uses ffs(), which is defined in asm/bitops.h. ARM uses
generic_ffs() which is in turn defined in linux/bitopts.h.
(linux/bitops.h includes asm/bitops.h)

diff -urN orig/fs/fat/inode.c linux/fs/fat/inode.c
--- orig/fs/fat/inode.c Thu May 24 18:36:34 2001
+++ linux/fs/fat/inode.c Tue Jun 12 10:44:35 2001
@@ -21,6 +21,7 @@
#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/string.h>
+#include <linux/bitops.h>
#include <linux/major.h>
#include <linux/blkdev.h>
#include <linux/fs.h>

Russell King ( The developer of ARM Linux

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:55    [W:0.040 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site