diff options
author | Jan Beulich <jbeulich@novell.com> | 2007-12-13 03:33:59 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-12-13 17:17:50 -0500 |
commit | 2fdf07417e57136cf6baedf9508e2169a059ebea (patch) | |
tree | c413d5b49684f9320825405b002b129766e6aa17 /drivers/acpi/osl.c | |
parent | da8cadb31b82c9d41fc593c8deab6aa20b162d6b (diff) |
acpi: make __acpi_map_table() and __init function
.. as it it used only during early boot.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
arch/ia64/kernel/acpi.c | 2 +-
arch/x86/kernel/acpi/boot.c | 4 ++--
drivers/acpi/osl.c | 3 ++-
3 files changed, 5 insertions(+), 4 deletions(-)
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r-- | drivers/acpi/osl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index e3a673a00845..82525d9cccb0 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -211,7 +211,8 @@ acpi_physical_address __init acpi_os_get_root_pointer(void) | |||
211 | return acpi_find_rsdp(); | 211 | return acpi_find_rsdp(); |
212 | } | 212 | } |
213 | 213 | ||
214 | void __iomem *acpi_os_map_memory(acpi_physical_address phys, acpi_size size) | 214 | void __iomem *__init_refok |
215 | acpi_os_map_memory(acpi_physical_address phys, acpi_size size) | ||
215 | { | 216 | { |
216 | if (phys > ULONG_MAX) { | 217 | if (phys > ULONG_MAX) { |
217 | printk(KERN_ERR PREFIX "Cannot map memory that high\n"); | 218 | printk(KERN_ERR PREFIX "Cannot map memory that high\n"); |