Skip to contentSkip to conversation

fs: add missing prefetch.h include

PATCH New Heiko Carstens 1 participant 1 message May 22, 2011 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs: add missing prefetch.h include

From: Heiko Carstens <[email protected]>

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'

---

 fs/inode.c |    1 +
 1 file changed, 1 insertion(+)
fs/inode.c +1 -0
index 33c963d..05f4fa5 100644
@@ -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"