fs: add missing prefetch.h include
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Sun, 22 May 2011 16:54:21 +0000 (18:54 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 22 May 2011 18:26:02 +0000 (11:26 -0700)
Fixes this build error on s390 and probably other archs as well:

  fs/inode.c: In function 'new_inode':
  fs/inode.c:894:2: error: implicit declaration of function 'spin_lock_prefetch'

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
[ Happens on architectures that don't define their own prefetch
  functions in <asm/processor.h>, and instead rely on the default
  ones in <linux/prefetch.h>   - Linus]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/inode.c

index 33c963d08ab49ecc4244a5e817db4af525794ce5..05f4fa521325b071f7ad114354b30233b131ae48 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/mount.h>
 #include <linux/async.h>
 #include <linux/posix_acl.h>
+#include <linux/prefetch.h>
 #include <linux/ima.h>
 #include <linux/cred.h>
 #include "internal.h"