diff options
Diffstat (limited to 'arch/ia64/mm/init.c')
-rw-r--r-- | arch/ia64/mm/init.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/ia64/mm/init.c b/arch/ia64/mm/init.c index da05893294b5..5c1de53c8c1c 100644 --- a/arch/ia64/mm/init.c +++ b/arch/ia64/mm/init.c | |||
@@ -547,12 +547,10 @@ find_largest_hole (u64 start, u64 end, void *arg) | |||
547 | #endif /* CONFIG_VIRTUAL_MEM_MAP */ | 547 | #endif /* CONFIG_VIRTUAL_MEM_MAP */ |
548 | 548 | ||
549 | int __init | 549 | int __init |
550 | register_active_ranges(u64 start, u64 end, void *arg) | 550 | register_active_ranges(u64 start, u64 len, int nid) |
551 | { | 551 | { |
552 | int nid = paddr_to_nid(__pa(start)); | 552 | u64 end = start + len; |
553 | 553 | ||
554 | if (nid < 0) | ||
555 | nid = 0; | ||
556 | #ifdef CONFIG_KEXEC | 554 | #ifdef CONFIG_KEXEC |
557 | if (start > crashk_res.start && start < crashk_res.end) | 555 | if (start > crashk_res.start && start < crashk_res.end) |
558 | start = crashk_res.end; | 556 | start = crashk_res.end; |