mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
[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 <[email protected]> Signed-off-by: Tony Luck <[email protected]>
This commit is contained in:
parent
581c1b1439
commit
631bb0e74e
1 changed files with 1 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue