s390/kasan: adapt disabled_wait usage to avoid build error
authorVasily Gorbik <gor@linux.ibm.com>
Wed, 8 May 2019 11:36:06 +0000 (13:36 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 8 May 2019 13:01:09 +0000 (15:01 +0200)
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>
arch/s390/mm/kasan_init.c

index 01892dcf4029258c25b7c8514413ae977d6e3220..0c1f257be422247b3e5835233582e07c80465e5c 100644 (file)
@@ -28,7 +28,7 @@ static void __init kasan_early_panic(const char *reason)
 {
        sclp_early_printk("The Linux kernel failed to boot with the KernelAddressSanitizer:\n");
        sclp_early_printk(reason);
-       disabled_wait(0);
+       disabled_wait();
 }
 
 static void * __init kasan_early_alloc_segment(void)