* Make fat compile again
@ 2001-06-12 20:49 Russell King
0 siblings, 0 replies; only message in thread
From: Russell King @ 2001-06-12 20:49 UTC (permalink / raw)
To: linux-kernel, torvalds; +Cc: nico
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-06-12 20:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-12 20:49 Make fat compile again Russell King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).