OSDN Git Service

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)
commit54b312290077f56a1c2dfb15237e1b315667d225
tree70adddf922720e3313c6ae1726a44919c5ef8f96
parent19f6634f41ff515082c26ba51280fbcb156de920
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