aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2019-05-08 07:36:06 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2019-05-08 09:01:09 -0400
commit184c460fbab4d3bf23d31ac5adba21540f756b6d (patch)
tree347e38e2210489b6650d2b51cc52a1d10649727a
parent7e756f423af808b6571fed3144747db2ef7fa1c5 (diff)
s390/kasan: adapt disabled_wait usage to avoid build error
Fix the following build error when the kernel is built with CONFIG_KASAN broken since commit 98587c2d894c ("s390: simplify disabled_wait"): arch/s390/mm/kasan_init.c: In function 'kasan_early_panic': arch/s390/mm/kasan_init.c:31:2: error: too many arguments to function 'disabled_wait' 31 | disabled_wait(0); Fixes: 98587c2d894c ("s390: simplify disabled_wait") Reported-by: Benjamin Block <bblock@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--arch/s390/mm/kasan_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/mm/kasan_init.c b/arch/s390/mm/kasan_init.c
index 01892dcf4029..0c1f257be422 100644
--- a/arch/s390/mm/kasan_init.c
+++ b/arch/s390/mm/kasan_init.c
@@ -28,7 +28,7 @@ static void __init kasan_early_panic(const char *reason)
28{ 28{
29 sclp_early_printk("The Linux kernel failed to boot with the KernelAddressSanitizer:\n"); 29 sclp_early_printk("The Linux kernel failed to boot with the KernelAddressSanitizer:\n");
30 sclp_early_printk(reason); 30 sclp_early_printk(reason);
31 disabled_wait(0); 31 disabled_wait();
32} 32}
33 33
34static void * __init kasan_early_alloc_segment(void) 34static void * __init kasan_early_alloc_segment(void)