lguest: cleanup for map_switcher()
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Wed, 5 Aug 2009 09:42:37 +0000 (17:42 +0800)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 23 Sep 2009 12:56:47 +0000 (22:26 +0930)
commit6c189d8312246af776c2587c233d6afcf3714438
tree4d1667bf0129d412c9101c48719a9f272880b45b
parentfb100d78c04ff6053047625d0368d0d4b1d9912a
lguest: cleanup for map_switcher()

We can use alloc_page() instead of get_zeroed_page() and virt_to_page()

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/core.c