x86: return the page table level in lookup_address()
authorIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:43 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:43 +0000 (13:33 +0100)
commitf0646e43acb18f0e00b00085dc88bc3f403e7930
treec47968a44ac541854929f03d22cf2fb76d76cb55
parenta5a5dc31794c3271c066835ad2c90c58a3805569
x86: return the page table level in lookup_address()

based on this patch from Andi Kleen:

|  Subject: CPA: Return the page table level in lookup_address()
|  From: Andi Kleen <ak@suse.de>
|
|  Needed for the next change.
|
|  And change all the callers.

and ported it to x86.git.

Signed-off-by: Andi Kleen <ak@suse.de>
Acked-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/fault_32.c
arch/x86/mm/init_32.c
arch/x86/mm/pageattr_32.c
arch/x86/mm/pageattr_64.c
arch/x86/xen/mmu.c
include/asm-x86/pgtable_32.h
include/asm-x86/pgtable_64.h