提交 24dc029f 编写于 作者: H Helge Deller 提交者: Kyle McMartin

parisc: fix section mismatch warnings

Signed-off-by: NHelge Deller <deller@gmx.de>
Signed-off-by: NKyle McMartin <kyle@mcmartin.ca>
上级 bfe4f4f8
...@@ -151,7 +151,7 @@ static void convert_to_wide(unsigned long *addr) ...@@ -151,7 +151,7 @@ static void convert_to_wide(unsigned long *addr)
} }
#ifdef CONFIG_64BIT #ifdef CONFIG_64BIT
void __init set_firmware_width_unlocked(void) void __cpuinit set_firmware_width_unlocked(void)
{ {
int ret; int ret;
...@@ -168,7 +168,7 @@ void __init set_firmware_width_unlocked(void) ...@@ -168,7 +168,7 @@ void __init set_firmware_width_unlocked(void)
* This function must be called before any pdc_* function that uses the * This function must be called before any pdc_* function that uses the
* convert_to_wide function. * convert_to_wide function.
*/ */
void __init set_firmware_width(void) void __cpuinit set_firmware_width(void)
{ {
unsigned long flags; unsigned long flags;
spin_lock_irqsave(&pdc_lock, flags); spin_lock_irqsave(&pdc_lock, flags);
...@@ -176,11 +176,11 @@ void __init set_firmware_width(void) ...@@ -176,11 +176,11 @@ void __init set_firmware_width(void)
spin_unlock_irqrestore(&pdc_lock, flags); spin_unlock_irqrestore(&pdc_lock, flags);
} }
#else #else
void __init set_firmware_width_unlocked(void) { void __cpuinit set_firmware_width_unlocked(void) {
return; return;
} }
void __init set_firmware_width(void) { void __cpuinit set_firmware_width(void) {
return; return;
} }
#endif /*CONFIG_64BIT*/ #endif /*CONFIG_64BIT*/
...@@ -302,7 +302,7 @@ int pdc_chassis_warn(unsigned long *warn) ...@@ -302,7 +302,7 @@ int pdc_chassis_warn(unsigned long *warn)
return retval; return retval;
} }
int __init pdc_coproc_cfg_unlocked(struct pdc_coproc_cfg *pdc_coproc_info) int __cpuinit pdc_coproc_cfg_unlocked(struct pdc_coproc_cfg *pdc_coproc_info)
{ {
int ret; int ret;
...@@ -323,7 +323,7 @@ int __init pdc_coproc_cfg_unlocked(struct pdc_coproc_cfg *pdc_coproc_info) ...@@ -323,7 +323,7 @@ int __init pdc_coproc_cfg_unlocked(struct pdc_coproc_cfg *pdc_coproc_info)
* This PDC call returns the presence and status of all the coprocessors * This PDC call returns the presence and status of all the coprocessors
* attached to the processor. * attached to the processor.
*/ */
int __init pdc_coproc_cfg(struct pdc_coproc_cfg *pdc_coproc_info) int __cpuinit pdc_coproc_cfg(struct pdc_coproc_cfg *pdc_coproc_info)
{ {
int ret; int ret;
unsigned long flags; unsigned long flags;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册