Commit beb48dfd authored by Helge Deller's avatar Helge Deller
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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 */
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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;