Skip to contentSkip to conversation

fs: add missing prefetch header to inode.c

PATCH In review Eduardo Silva 3 participants 5 messages May 22, 2011 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs: add missing prefetch header to inode.c

inode.c fails in the compilation process due to the missing include of linux/prefetch.h.

---
 fs/inode.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
fs/inode.c +1 -0
index 33c963d..c77081f 100644
@@ -26,6 +26,7 @@
 #include <linux/posix_acl.h>
 #include <linux/ima.h>
 #include <linux/cred.h>
+#include <linux/prefetch.h>
 #include "internal.h"
 
 /*
Signature · 1 line
1.7.4.1
#1 lore raw
Quoted 2 lines · Eduardo Silva

inode.c fails in the compilation process due to the missing include of linux/prefetch.h.

On which arch?
So far I've observed this build error only on UML. A fix has already been submitted.

Signature · 2 lines
Thanks,
//richard
#2 lore raw
In reply to Eduardo Silva
Quoted 21 lines · Eduardo Silva

inode.c fails in the compilation process due to the missing include of linux/prefetch.h.

---
 fs/inode.c |    1 +

 1 files changed, 1 insertions(+), 0 deletions(-)
fs/inode.c +1 -1
index 33c963d..c77081f 100644
@@ -26,6 +26,7 @@
  #include <linux/posix_acl.h>
  #include <linux/ima.h>
  #include <linux/cred.h>
+#include <linux/prefetch.h>
  #include "internal.h"
 
  /*
--
Quoted 2 lines

1.7.4.1

Just FYI:
"fs: add missing prefetch.h include" is in Linus tree [1].

- Sedat -

[1] http://git.us.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9ce6e0be0626a5de2aca8b769a4aa57086257156
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

oh, yep, it was in UM arch :)

Quoted 32 lines · Sedat Dilek
Quoted 21 lines · Eduardo Silva

inode.c fails in the compilation process due to the missing include of linux/prefetch.h.

---
 fs/inode.c |    1 +

 1 files changed, 1 insertions(+), 0 deletions(-)
fs/inode.c +1 -1
index 33c963d..c77081f 100644
@@ -26,6 +26,7 @@
  #include <linux/posix_acl.h>
  #include <linux/ima.h>
  #include <linux/cred.h>
+#include <linux/prefetch.h>
  #include "internal.h"
 
  /*
--
Quoted 2 lines

1.7.4.1

Just FYI:
"fs: add missing prefetch.h include" is in Linus tree [1].

- Sedat -

[1] http://git.us.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9ce6e0be0626a5de2aca8b769a4aa57086257156

Signature · 7 lines
Eduardo Silva
http://edsiper.linuxchile.cl
http://www.monkey-project.com
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw
Quoted 1 line · Eduardo Silva

oh, yep, it was in UM arch :)

I've already submitted a patch for UML.
fs/inode.c is not the only place which needs the prefetch stuff...

Signature · 2 lines
Thanks,
//richard