diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-04-22 06:40:39 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-04-22 08:01:39 +0200 |
commit | e1d12606f756bdb8328a66a2873dca6c46bcb4e5 (patch) | |
tree | 25464220a1fe74504cd5a8d0801913594e25539d /drivers/lguest/interrupts_and_traps.c | |
parent | lguest: assume Switcher text is a single page. (diff) | |
download | linux-e1d12606f756bdb8328a66a2873dca6c46bcb4e5.tar.xz linux-e1d12606f756bdb8328a66a2873dca6c46bcb4e5.zip |
lguest: make check_gpte et. al return bool.
This is a bit neater: we can immediately return if a PTE/PGD/PMD entry
is invalid (which also kills the guest). It means we don't risk using
invalid entries as we reshuffle the code.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/lguest/interrupts_and_traps.c')
0 files changed, 0 insertions, 0 deletions