Commit 9ce6e0be0626a5de2aca8b769a4aa57086257156

Authored by Heiko Carstens
Committed by Linus Torvalds
1 parent dcb4a1f0e0

fs: add missing prefetch.h include

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -24,6 +24,7 @@
24 24 #include <linux/mount.h>
25 25 #include <linux/async.h>
26 26 #include <linux/posix_acl.h>
  27 +#include <linux/prefetch.h>
27 28 #include <linux/ima.h>
28 29 #include <linux/cred.h>
29 30 #include "internal.h"