]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
lguest: fix __get_vm_area usage.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 11 Mar 2008 14:35:56 +0000 (09:35 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 10 Mar 2008 22:35:56 +0000 (09:35 +1100)
commitf14ae652baa3d72ae378f0c06b89cc2c4ef15ff8
tree65dfe2b310103bd6f2c981de2e1d0faecd05805c
parentf73d1e6ca6985b43a1871467463cba632fbc624d
lguest: fix __get_vm_area usage.

Robert Bragg's 5dc331852848a38ca00a2817e5b98a1d0561b116 tightened
(ie. fixed) the checking in __get_vm_area, and it broke lguest.

lguest should pass the exact "end" it wants, not some random constant
(it was possible previously that it would actually get an address
different from SWITCHER_ADDR).

Also, Fabio Checconi pointed out that we should make sure we're not
hitting the fixmap area.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Robert Bragg <robert@sixbynine.org>
drivers/lguest/core.c