aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/mm/init.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-06-26 07:57:56 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-26 13:48:18 -0400
commitd2ae5b5f6afd3c4caaf82444102a4372135cb994 (patch)
tree4011a28241f4528f4d922cbe718797120b31036c /arch/x86_64/mm/init.c
parentb79c4df714ff190f7149d3d5a86278bdc25a90ec (diff)
[PATCH] x86_64: Get rid of pud_offset_k / __pud_offset_k
pud_offset_k() equivalent to pud_offset() now. Pointed out by Jan Beulich Similar for __pud_offset_ok, which needs a small change in the callers. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/mm/init.c')
-rw-r--r--arch/x86_64/mm/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/mm/init.c b/arch/x86_64/mm/init.c
index a70a8e3e312d..b83645a2e02d 100644
--- a/arch/x86_64/mm/init.c
+++ b/arch/x86_64/mm/init.c
@@ -372,7 +372,7 @@ void __meminit init_memory_mapping(unsigned long start, unsigned long end)
372 pud_t *pud; 372 pud_t *pud;
373 373
374 if (after_bootmem) 374 if (after_bootmem)
375 pud = pud_offset_k(pgd, start & PGDIR_MASK); 375 pud = pud_offset(pgd, start & PGDIR_MASK);
376 else 376 else
377 pud = alloc_low_page(&map, &pud_phys); 377 pud = alloc_low_page(&map, &pud_phys);
378 378