mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] fs: add missing prefetch.h include
@ 2011-05-22 16:54 Heiko Carstens
  0 siblings, 0 replies; only message in thread
From: Heiko Carstens @ 2011-05-22 16:54 UTC (permalink / raw)
  To: Linus Torvalds, Andrew Morton, Al Viro; +Cc: linux-kernel

From: Heiko Carstens <heiko.carstens@de.ibm.com>

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

 fs/inode.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/inode.c b/fs/inode.c
index 33c963d..05f4fa5 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -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"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-22 16:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-22 16:54 [PATCH] fs: add missing prefetch.h include Heiko Carstens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®