summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2019-07-17 14:07:42 -0400
committerVasily Gorbik <gor@linux.ibm.com>2019-07-29 12:05:02 -0400
commitd25220d2f2ece9e516588ed5df2ed373069b3a02 (patch)
treee12eeaba8f49b4226f386b2e53960bc1d1d71a69
parent868202ce15a7b52534257426a94f40b6d9f6150f (diff)
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>
-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 @@
9#include <linux/types.h> 9#include <linux/types.h>
10#include <linux/export.h> 10#include <linux/export.h>
11#include <linux/raid/xor.h> 11#include <linux/raid/xor.h>
12#include <asm/xor.h>
12 13
13static void xor_xc_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) 14static void xor_xc_2(unsigned long bytes, unsigned long *p1, unsigned long *p2)
14{ 15{