Commit beb48dfd authored by Helge Deller's avatar Helge Deller

parisc: Move CPU startup-related functions into .text section

If CONFIG_HOTPLUG_CPU is enabled, those functions will be run again
after bootup. So they need to reside in the .text section.
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 95370b40
......@@ -273,7 +273,7 @@ parisc_cache_init(void)
}
}
void __init disable_sr_hashing(void)
void disable_sr_hashing(void)
{
int srhash_type, retval;
unsigned long space_bits;
......
......@@ -563,7 +563,7 @@ static void claim_cpu_irqs(void)
#endif
}
void __init init_IRQ(void)
void init_IRQ(void)
{
local_irq_disable(); /* PARANOID - should already be disabled */
mtctl(~0UL, 23); /* EIRR : clear all pending external intr */
......
......@@ -318,7 +318,7 @@ void __init collect_boot_cpu_data(void)
*
* o Enable CPU profiling hooks.
*/
int __init init_per_cpu(int cpunum)
int init_per_cpu(int cpunum)
{
int ret;
struct pdc_coproc_cfg coproc_cfg;
......
......@@ -150,7 +150,7 @@ static struct clocksource clocksource_cr16 = {
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
};
void __init start_cpu_itimer(void)
void start_cpu_itimer(void)
{
unsigned int cpu = smp_processor_id();
unsigned long next_tick = mfctl(16) + clocktick;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment