lkml.org 
[lkml]   [2001]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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 (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  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