aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2019-07-17 20:07:42 +0200
committerVasily Gorbik <gor@linux.ibm.com>2019-07-29 18:05:02 +0200
commitd25220d2f2ece9e516588ed5df2ed373069b3a02 (patch)
treee12eeaba8f49b4226f386b2e53960bc1d1d71a69 /arch
parents390/boot: add missing declarations and includes (diff)
downloadlinux-dev-d25220d2f2ece9e516588ed5df2ed373069b3a02.tar.xz
linux-dev-d25220d2f2ece9e516588ed5df2ed373069b3a02.zip
s390/lib: add missing include
Include <asm/xor.h> into arch/s390/lib/xor.c to expose xor_block_xc declaration and avoid the following sparse warning: arch/s390/lib/xor.c:128:27: warning: symbol 'xor_block_xc' was not declared. Should it be static? Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/lib/xor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/lib/xor.c b/arch/s390/lib/xor.c
index 96580590ccaf..29d9470dbceb 100644
--- a/arch/s390/lib/xor.c
+++ b/arch/s390/lib/xor.c
@@ -9,6 +9,7 @@
#include <linux/types.h>
#include <linux/export.h>
#include <linux/raid/xor.h>
+#include <asm/xor.h>
static void xor_xc_2(unsigned long bytes, unsigned long *p1, unsigned long *p2)
{