]> git.karo-electronics.de Git - karo-tx-linux.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)
commit8a1182eb34dcb0d5d627e2852f3e76931a653264
tree67c692e38f36298d2d16f92fb1d17ecd8e516d8c
parent524b0b63a185f951a903e3ebc67574d962dbfd98
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