lguest: PAE fixes
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 13 Jun 2009 04:27:08 +0000 (22:27 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 12 Jun 2009 12:57:08 +0000 (22:27 +0930)
commit92b4d8df8436cdd74d22a2a5b6b23b9abc737a3e
treebba0dce08d1fde432f370b7ef2845e0ae195a34d
parentacdd0b6292b282c4511897ac2691a47befbf1c6a
lguest: PAE fixes

1) j wasn't initialized in setup_pagetables, so they weren't set up for me
   causing immediate guest crashes.

2) gpte_addr should not re-read the pmd from the Guest.  Especially
   not BUG_ON() based on the value.  If we ever supported SMP guests,
   they could trigger that.  And the Launcher could also trigger it
   (tho currently root-only).

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