lguest: extract shadow PTE walking / allocating.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Apr 2013 04:40:39 +0000 (14:10 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Apr 2013 06:14:47 +0000 (15:44 +0930)
commit17427e08faae3e63271a9c2d0edb6a22e5fbb54b
treef2a7b84741ce7c21b818a2da9873d7eef0b92307
parente1d12606f756bdb8328a66a2873dca6c46bcb4e5
lguest: extract shadow PTE walking / allocating.

We want a separate find_pte() function so we can call it for populating the
switcher PTE entries.

We can also use it in page_writable().

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