diff options
author | Bob Picco <bob.picco@hp.com> | 2005-10-31 18:25:25 (GMT) |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-10-31 19:33:53 (GMT) |
commit | 631bb0e74e811e0d9ad23e7462a02d4767b4dd9d (patch) | |
tree | b272e3afacf1f3dfb9b4dfa06cadbcf17956469a /include/asm-ia64 | |
parent | 581c1b14394aee60aff46ea67d05483261ed6527 (diff) | |
download | linux-631bb0e74e811e0d9ad23e7462a02d4767b4dd9d.tar.xz |
[IA64] Recent SPARSEMEM and DISCONTIG changes break some builds
My only objection to pfn_to_kaddr, which was introduced for HotPlug memory,
is that all arches have an identical implementation. I haven't had a chance
to pursue why yet. There is probably some arch issue I'm unaware of.
Signed-off-by: Bob Picco <bob.picco@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/asm-ia64')
-rw-r--r-- | include/asm-ia64/page.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ia64/page.h b/include/asm-ia64/page.h index ef436b9..9d41548 100644 --- a/include/asm-ia64/page.h +++ b/include/asm-ia64/page.h @@ -120,6 +120,7 @@ extern unsigned long max_low_pfn; #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) +#define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) typedef union ia64_va { struct { |