Skip to content

Commit beb48df

Browse files
committed
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: Helge Deller <deller@gmx.de>
1 parent 95370b4 commit beb48df

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

arch/parisc/kernel/cache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ parisc_cache_init(void)
273273
}
274274
}
275275

276-
void __init disable_sr_hashing(void)
276+
void disable_sr_hashing(void)
277277
{
278278
int srhash_type, retval;
279279
unsigned long space_bits;

arch/parisc/kernel/irq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ static void claim_cpu_irqs(void)
563563
#endif
564564
}
565565

566-
void __init init_IRQ(void)
566+
void init_IRQ(void)
567567
{
568568
local_irq_disable(); /* PARANOID - should already be disabled */
569569
mtctl(~0UL, 23); /* EIRR : clear all pending external intr */

arch/parisc/kernel/processor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ void __init collect_boot_cpu_data(void)
318318
*
319319
* o Enable CPU profiling hooks.
320320
*/
321-
int __init init_per_cpu(int cpunum)
321+
int init_per_cpu(int cpunum)
322322
{
323323
int ret;
324324
struct pdc_coproc_cfg coproc_cfg;

arch/parisc/kernel/time.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ static struct clocksource clocksource_cr16 = {
150150
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
151151
};
152152

153-
void __init start_cpu_itimer(void)
153+
void start_cpu_itimer(void)
154154
{
155155
unsigned int cpu = smp_processor_id();
156156
unsigned long next_tick = mfctl(16) + clocktick;

0 commit comments

Comments
 (0)