Skip to content

Commit

Permalink
ARM: Add .text annotations where required after __CPUINIT removal
Browse files Browse the repository at this point in the history
Commit 8bd26e3 (arm: delete __cpuinit/__CPUINIT usage from all ARM
users) caused some code to leak into sections which are discarded
through the removal of __CPUINIT annotations.  Add appropriate .text
annotations to bring these back into the kernel text.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King committed Aug 1, 2013
1 parent 44424c3 commit 2449189
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/kernel/head-nommu.S
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ ENTRY(stext)
ENDPROC(stext)

#ifdef CONFIG_SMP
.text
ENTRY(secondary_startup)
/*
* Common entry point for secondary CPUs.
Expand Down
1 change: 1 addition & 0 deletions arch/arm/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ __turn_mmu_on_loc:
.long __turn_mmu_on_end

#if defined(CONFIG_SMP)
.text
ENTRY(secondary_startup)
/*
* Common entry point for secondary CPUs.
Expand Down

0 comments on commit 2449189

Please sign in to comment.