Skip to content

Commit

Permalink
s390/kasan: adapt disabled_wait usage to avoid build error
Browse files Browse the repository at this point in the history
Fix the following build error when the kernel is built with CONFIG_KASAN
broken since commit 98587c2 ("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: 98587c2 ("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>
  • Loading branch information
Vasily Gorbik authored and Martin Schwidefsky committed May 8, 2019
1 parent 7e756f4 commit 184c460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/s390/mm/kasan_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 184c460

Please sign in to comment.