]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: move boottotool out of proc to sysfs
authorBenjamin Romer <benjamin.romer@unisys.com>
Tue, 22 Jul 2014 13:56:26 +0000 (09:56 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jul 2014 23:11:00 +0000 (16:11 -0700)
commitf864a2bd4ec8ea0390f9f0a9f31338f39938e46f
tree70adddf922720e3313c6ae1726a44919c5ef8f96
parent6b0f89bb6cf40f914d070f394055eece34ff633d
staging: unisys: move boottotool out of proc to sysfs

Move the proc entry controlling the boottotool flag to procfs. The field
appears in /sys/devices/platform/visorchipset/install/boottotool.

The boottotool flag controls s-Par behavior on the next boot of this guest.
Setting the flag will cause the guest to boot from the utility and installation
image, which will use the value in the toolaction field to determine what
operation is being requested.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorchipset/visorchipset_main.c