android_kernel_xiaomi_sm8350/drivers/lguest/x86
Rusty Russell 2d37f94a28 generalize lgread_u32/lgwrite_u32.
Jes complains that page table code still uses lgread_u32 even though
it now uses general kernel pte types.  The best thing to do is to
generalize lgread_u32 and lgwrite_u32.

This means we lose the efficiency of getuser().  We could potentially
regain it if we used __copy_from_user instead of copy_from_user, but
I'm not certain that our range check is equivalent to access_ok() on
all platforms.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Jes Sorensen <jes@sgi.com>
2007-10-23 15:49:56 +10:00
..
core.c generalize lgread_u32/lgwrite_u32. 2007-10-23 15:49:56 +10:00
switcher_32.S Reorder guest saved regs to match hyperall order 2007-10-23 15:49:51 +10:00