lguest: use PGDIR_SHIFT for PAE code to allow different PAGE_OFFSET
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 24 Sep 2009 04:26:46 +0000 (22:26 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 23 Sep 2009 12:56:46 +0000 (22:26 +0930)
commitfb100d78c04ff6053047625d0368d0d4b1d9912a
treebd07302aed54c75cc5c64af2503b29a21014103c
parent4c1ea3dd718a1d93a726cb3e66665ac4170dcccd
lguest: use PGDIR_SHIFT for PAE code to allow different PAGE_OFFSET

We still assume the Guest and Host have the same PAGE_OFFSET settings,
but now we don't assume 0xC0000000.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Matias Zabaljauregui <zabaljauregui@gmail.com>
drivers/lguest/page_tables.c