aboutsummaryrefslogtreecommitdiffstats
path: root/lib/error-inject.c
diff options
context:
space:
mode:
authorMatteo Croce <[email protected]>2020-12-16 04:47:07 +0000
committerLinus Torvalds <[email protected]>2020-12-16 06:46:19 +0000
commit40247e55ba099067bf160332365ed78b5aeb62da (patch)
tree4ac2714684eef6903256c5ed373eefa21e6526a7 /lib/error-inject.c
parentreboot: allow to override reboot type if quirks are found (diff)
downloadkernel-40247e55ba099067bf160332365ed78b5aeb62da.tar.gz
kernel-40247e55ba099067bf160332365ed78b5aeb62da.zip
reboot: hide from sysfs not applicable settings
Not all the reboot settings from both the kernel command line or sysfs interface are available to all platforms. Filter out reboot_type and reboot_force which are x86 only, and also remove reboot_cpu on kernels without SMP support. This saves some space, and avoid confusing the user with settings which will have no effect. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Matteo Croce <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/error-inject.c')
0 files changed, 0 insertions, 0 deletions