diff options
-rw-r--r-- | arch/arm64/kernel/acpi.c | 4 | ||||
-rw-r--r-- | arch/ia64/kernel/acpi.c | 6 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/boot.c | 4 | ||||
-rw-r--r-- | include/linux/acpi.h | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/arch/arm64/kernel/acpi.c b/arch/arm64/kernel/acpi.c index e25c11e727fe..b3162715ed78 100644 --- a/arch/arm64/kernel/acpi.c +++ b/arch/arm64/kernel/acpi.c | |||
@@ -95,7 +95,7 @@ static int __init dt_scan_depth1_nodes(unsigned long node, | |||
95 | * __acpi_map_table() will be called before page_init(), so early_ioremap() | 95 | * __acpi_map_table() will be called before page_init(), so early_ioremap() |
96 | * or early_memremap() should be called here to for ACPI table mapping. | 96 | * or early_memremap() should be called here to for ACPI table mapping. |
97 | */ | 97 | */ |
98 | char *__init __acpi_map_table(unsigned long phys, unsigned long size) | 98 | void __init __iomem *__acpi_map_table(unsigned long phys, unsigned long size) |
99 | { | 99 | { |
100 | if (!size) | 100 | if (!size) |
101 | return NULL; | 101 | return NULL; |
@@ -103,7 +103,7 @@ char *__init __acpi_map_table(unsigned long phys, unsigned long size) | |||
103 | return early_memremap(phys, size); | 103 | return early_memremap(phys, size); |
104 | } | 104 | } |
105 | 105 | ||
106 | void __init __acpi_unmap_table(char *map, unsigned long size) | 106 | void __init __acpi_unmap_table(void __iomem *map, unsigned long size) |
107 | { | 107 | { |
108 | if (!map || !size) | 108 | if (!map || !size) |
109 | return; | 109 | return; |
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index 7508c306aa9e..1d29b2f8726b 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c | |||
@@ -159,12 +159,12 @@ int acpi_request_vector(u32 int_type) | |||
159 | return vector; | 159 | return vector; |
160 | } | 160 | } |
161 | 161 | ||
162 | char *__init __acpi_map_table(unsigned long phys_addr, unsigned long size) | 162 | void __init __iomem *__acpi_map_table(unsigned long phys, unsigned long size) |
163 | { | 163 | { |
164 | return __va(phys_addr); | 164 | return __va(phys); |
165 | } | 165 | } |
166 | 166 | ||
167 | void __init __acpi_unmap_table(char *map, unsigned long size) | 167 | void __init __acpi_unmap_table(void __iomem *map, unsigned long size) |
168 | { | 168 | { |
169 | } | 169 | } |
170 | 170 | ||
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index 27f0240773b3..666dcc3e14e1 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c | |||
@@ -118,7 +118,7 @@ static u32 isa_irq_to_gsi[NR_IRQS_LEGACY] __read_mostly = { | |||
118 | * This is just a simple wrapper around early_ioremap(), | 118 | * This is just a simple wrapper around early_ioremap(), |
119 | * with sanity checks for phys == 0 and size == 0. | 119 | * with sanity checks for phys == 0 and size == 0. |
120 | */ | 120 | */ |
121 | char *__init __acpi_map_table(unsigned long phys, unsigned long size) | 121 | void __init __iomem *__acpi_map_table(unsigned long phys, unsigned long size) |
122 | { | 122 | { |
123 | 123 | ||
124 | if (!phys || !size) | 124 | if (!phys || !size) |
@@ -127,7 +127,7 @@ char *__init __acpi_map_table(unsigned long phys, unsigned long size) | |||
127 | return early_ioremap(phys, size); | 127 | return early_ioremap(phys, size); |
128 | } | 128 | } |
129 | 129 | ||
130 | void __init __acpi_unmap_table(char *map, unsigned long size) | 130 | void __init __acpi_unmap_table(void __iomem *map, unsigned long size) |
131 | { | 131 | { |
132 | if (!map || !size) | 132 | if (!map || !size) |
133 | return; | 133 | return; |
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index c749eef1daa1..7443af1d16e7 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -228,8 +228,8 @@ struct acpi_subtable_proc { | |||
228 | int count; | 228 | int count; |
229 | }; | 229 | }; |
230 | 230 | ||
231 | char * __acpi_map_table (unsigned long phys_addr, unsigned long size); | 231 | void __iomem *__acpi_map_table(unsigned long phys, unsigned long size); |
232 | void __acpi_unmap_table(char *map, unsigned long size); | 232 | void __acpi_unmap_table(void __iomem *map, unsigned long size); |
233 | int early_acpi_boot_init(void); | 233 | int early_acpi_boot_init(void); |
234 | int acpi_boot_init (void); | 234 | int acpi_boot_init (void); |
235 | void acpi_boot_table_init (void); | 235 | void acpi_boot_table_init (void); |