watchdog: handle comma separated nmi_watchdog command line
authorSong Liu <song@kernel.org>
Tue, 30 Apr 2024 06:02:35 +0000 (23:02 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 8 May 2024 15:41:28 +0000 (08:41 -0700)
commit602ba77361160d99c77e3dadf7d891364f8c71b3
tree3a78b700639e845c54211bda390783e8a08e5d23
parent91d743a9c8299de1fc1b47428d8bb4c85face00f
watchdog: handle comma separated nmi_watchdog command line

Per the document, the kernel can accept comma separated command line like
nmi_watchdog=nopanic,0.  However, the code doesn't really handle it.  Fix
the kernel to handle it properly.

Link: https://lkml.kernel.org/r/20240430060236.1878002-1-song@kernel.org
Signed-off-by: Song Liu <song@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/watchdog.c