* [PATCH] fs: fix missing header file
[not found] <bc781b295b38241533a2d90c1aea15b3@localhost>
@ 2011-05-20 4:36 ` Kevin Cernekee
0 siblings, 0 replies; only message in thread
From: Kevin Cernekee @ 2011-05-20 4:36 UTC (permalink / raw)
To: Al Viro; +Cc: linux-fsdevel, linux-kernel
spin_lock_prefetch() requires <linux/prefetch.h>. This failure was seen
on MIPS:
CC fs/inode.o
fs/inode.c: In function 'new_inode':
fs/inode.c:894:2: error: implicit declaration of function 'spin_lock_prefetch'
make[1]: *** [fs/inode.o] Error 1
make: *** [fs] Error 2
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
---
fs/inode.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/inode.c b/fs/inode.c
index 33c963d..c77081f 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -26,6 +26,7 @@
#include <linux/posix_acl.h>
#include <linux/ima.h>
#include <linux/cred.h>
+#include <linux/prefetch.h>
#include "internal.h"
/*
--
1.7.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-20 4:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <bc781b295b38241533a2d90c1aea15b3@localhost>
2011-05-20 4:36 ` [PATCH] fs: fix missing header file Kevin Cernekee
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).