[PATCH] i386: pte simplify ops
commit9e5e3162b2d5e4466187ecd63c9eec2de33cb7bc
authorZachary Amsden <zach@vmware.com>
Wed, 2 May 2007 17:27:19 +0000 (2 19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:19 +0000 (2 19:27 +0200)
treee0d9231574833f17b509bc2ca1971af90f657eb2
parent142dd975911fdd82b1b6f6617cd20ac90a8ccf00
[PATCH] i386: pte simplify ops

Add comment and condense code to make use of native_local_ptep_get_and_clear
function.  Also, it turns out the 2-level and 3-level paging definitions were
identical, so move the common definition into pgtable.h

Signed-off-by: Zachary Amsden <zach@vmware.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andi Kleen <ak@suse.de>
include/asm-i386/pgtable-2level.h
include/asm-i386/pgtable-3level.h
include/asm-i386/pgtable.h