Re: [PATCH 2/2] reboot: hide from sysfs not applicable settings

2020-12-01 Thread Petr Mladek
On Mon 2020-11-30 18:37:17, Matteo Croce wrote: > From: Matteo Croce > > 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 with

[PATCH 2/2] reboot: hide from sysfs not applicable settings

2020-11-30 Thread Matteo Croce
From: Matteo Croce 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 t