]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: detect controlvm channel on module load
authorBenjamin Romer <benjamin.romer@unisys.com>
Thu, 17 Jul 2014 16:39:58 +0000 (12:39 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 01:11:33 +0000 (18:11 -0700)
commitdf37097ca4eee4536c7f06c9e4129ee8148b5999
tree67c692e38f36298d2d16f92fb1d17ecd8e516d8c
parentdf0792a1adb0ca4b9ac6848afab0f9cfbb65953f
staging: unisys: detect controlvm channel on module load

The controlvm channel is not removable from a guest after the guest starts,
so it makes no sense to constantly check for it. Move the channel address
discovery to visorchipset_init(), and remove all of the checks for the channel
address from the rest of the module, as the module will not load if the
channel pointer is not valid.

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