From: Rusty Russell Date: Mon, 22 Oct 2007 01:24:24 +0000 (+1000) Subject: generalize lgread_u32/lgwrite_u32. X-Git-Tag: v2.6.24-rc1~28^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d37f94a28170ca656438758fca577acb49a7932;p=pandora-kernel.git 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 Acked-by: Jes Sorensen --- Reading git-diff-tree failed