diff options
author | Horms <horms@verge.net.au> | 2007-03-06 02:28:50 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-03-08 13:29:58 -0500 |
commit | 2a3a2827c7cbe464610116cc17ca4fac63245a43 (patch) | |
tree | 7700e192655cde5ff1c2efd13e3ab2b4aac9f924 | |
parent | 1f0ef4ef60b4ef0a18dfc50938f3a94c5edd66ce (diff) |
[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 <horms@verge.net.au>
Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r-- | arch/ia64/kernel/efi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c index 49b93682c752..f45f91d38cab 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, | |||
1142 | /* find a block of memory aligned to 64M exclude reserved regions | 1142 | /* find a block of memory aligned to 64M exclude reserved regions |
1143 | rsvd_regions are sorted | 1143 | rsvd_regions are sorted |
1144 | */ | 1144 | */ |
1145 | unsigned long | 1145 | unsigned long __init |
1146 | kdump_find_rsvd_region (unsigned long size, | 1146 | kdump_find_rsvd_region (unsigned long size, |
1147 | struct rsvd_region *r, int n) | 1147 | struct rsvd_region *r, int n) |
1148 | { | 1148 | { |