git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
parisc: fix section mismatch warnings
[pandora-kernel.git]
/
arch
/
parisc
/
kernel
/
firmware.c
diff --git
a/arch/parisc/kernel/firmware.c
b/arch/parisc/kernel/firmware.c
index
03f26bd
..
f6d2412
100644
(file)
--- a/
arch/parisc/kernel/firmware.c
+++ b/
arch/parisc/kernel/firmware.c
@@
-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 __
cpu
init set_firmware_width_unlocked(void)
{
int ret;
{
int ret;
@@
-168,7
+168,7
@@
void __init set_firmware_width_unlocked(void)
* This function must be called before any pdc_* function that uses the
* convert_to_wide function.
*/
* This function must be called before any pdc_* function that uses the
* convert_to_wide function.
*/
-void __init set_firmware_width(void)
+void __
cpu
init set_firmware_width(void)
{
unsigned long flags;
spin_lock_irqsave(&pdc_lock, flags);
{
unsigned long flags;
spin_lock_irqsave(&pdc_lock, flags);
@@
-176,11
+176,11
@@
void __init set_firmware_width(void)
spin_unlock_irqrestore(&pdc_lock, flags);
}
#else
spin_unlock_irqrestore(&pdc_lock, flags);
}
#else
-void __init set_firmware_width_unlocked(void) {
+void __
cpu
init set_firmware_width_unlocked(void) {
return;
}
return;
}
-void __init set_firmware_width(void) {
+void __
cpu
init set_firmware_width(void) {
return;
}
#endif /*CONFIG_64BIT*/
return;
}
#endif /*CONFIG_64BIT*/
@@
-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 __
cpu
init 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)
* This PDC call returns the presence and status of all the coprocessors
* attached to the processor.
*/
* This PDC call returns the presence and status of all the coprocessors
* attached to the processor.
*/
-int __init pdc_coproc_cfg(struct pdc_coproc_cfg *pdc_coproc_info)
+int __
cpu
init pdc_coproc_cfg(struct pdc_coproc_cfg *pdc_coproc_info)
{
int ret;
unsigned long flags;
{
int ret;
unsigned long flags;