parisc: add sysctl file interface panic_on_stackoverflow
authorXiaoming Ni <nixiaoming@huawei.com>
Sat, 11 Apr 2020 13:06:19 +0000 (21:06 +0800)
committerHelge Deller <deller@gmx.de>
Sun, 10 May 2020 20:47:35 +0000 (22:47 +0200)
commitb6522fa409cfafbc3968679b09e4028f0609f2b9
tree5c4fc8eadbe6b4d5d19c2296330ada6bd8db668d
parent3fd84a4fc063f36855ddf2408c66e6e5d219b223
parisc: add sysctl file interface panic_on_stackoverflow

The variable sysctl_panic_on_stackoverflow is used in
arch/parisc/kernel/irq.c and arch/x86/kernel/irq_32.c, but the sysctl file
interface panic_on_stackoverflow only exists on x86.

Add sysctl file interface panic_on_stackoverflow for parisc

Signed-off-by: Xiaoming Ni <nixiaoming@huawei.com>
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Helge Deller <deller@gmx.de>
kernel/sysctl.c