
From: Andi Kleen <ak@muc.de>

Fix incorrect pml4_offset_gate definition on ia64

Signed-off-by: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/include/asm-ia64/pgtable.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN include/asm-ia64/pgtable.h~4level-ia64-support-fix include/asm-ia64/pgtable.h
--- 25/include/asm-ia64/pgtable.h~4level-ia64-support-fix	Fri Nov 12 15:21:23 2004
+++ 25-akpm/include/asm-ia64/pgtable.h	Fri Nov 12 15:21:23 2004
@@ -317,7 +317,7 @@ pgd_index (unsigned long address)
 /* Look up a pgd entry in the gate area.  On IA-64, the gate-area
    resides in the kernel-mapped segment, hence we use pgd_offset_k()
    here.  */
-#define pml4_offset_gate(mm, addr)	pml4_pgd_offset_k(pml4_offset_k(addr),addr)
+#define pml4_offset_gate(mm, addr)	pml4_offset_k(pml4_offset_k(addr),addr)
 
 /* Find an entry in the second-level page table.. */
 #define pmd_offset(dir,addr) \
_
