From: Horms Date: Tue, 6 Mar 2007 07:28:50 +0000 (+0900) Subject: [IA64] put kdump_find_rsvd_region in __init X-Git-Tag: v2.6.21-rc4~51^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2a3a2827c7cbe464610116cc17ca4fac63245a43;p=linux-2.6-omap-h63xx.git [IA64] put kdump_find_rsvd_region in __init kdump_find_rsvd_region() is only called by reserve_memory() which is in __init, so it seems that kdump_find_rsvd_region() should also be in there. Signed-off-by: Simon Horman Signed-off-by: Tony Luck --- diff --git a/arch/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c index 49b93682c75..f45f91d38ca 100644 --- a/arch/ia64/kernel/efi.c +++ b/arch/ia64/kernel/efi.c @@ -1142,7 +1142,7 @@ efi_initialize_iomem_resources(struct resource *code_resource, /* find a block of memory aligned to 64M exclude reserved regions rsvd_regions are sorted */ -unsigned long +unsigned long __init kdump_find_rsvd_region (unsigned long size, struct rsvd_region *r, int n) {