Skip to content

Commit becd201

Browse files
chleroyJ. Bruce Fields
authored andcommitted
SUNRPC: Add missing definition of ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE
Even if that's only a warning, not including asm/cacheflush.h leads to svc_flush_bvec() being empty allthough powerpc defines ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE. CC net/sunrpc/svcsock.o net/sunrpc/svcsock.c:227:5: warning: "ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE" is not defined [-Wundef] #if ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE ^ Include linux/highmem.h so that asm/cacheflush.h will be included. Reported-by: Christophe Leroy <[email protected]> Reported-by: kernel test robot <[email protected]> Fixes: ca07eda ("SUNRPC: Refactor svc_recvfrom()") Signed-off-by: Christophe Leroy <[email protected]> Acked-by: Chuck Lever <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
1 parent bf26540 commit becd201

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/sunrpc/svcsock.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
#include <net/tcp.h>
4545
#include <net/tcp_states.h>
4646
#include <linux/uaccess.h>
47+
#include <linux/highmem.h>
4748
#include <asm/ioctls.h>
4849

4950
#include <linux/sunrpc/types.h>

0 commit comments

Comments
 (0)