Skip to content

Commit

Permalink
ARM: shmobile: Move shmobile_scu_base from .text to .bss
Browse files Browse the repository at this point in the history
shmobile_scu_base is being written to, so it doesn't belong in the .text
section. Fix this by moving it from asm .text to C .bss, as it's no
longer used from asm code since commit 4f6da36 ("ARM: shmobile:
Remove old SCU boot code").

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
  • Loading branch information
Geert Uytterhoeven authored and Simon Horman committed Feb 17, 2016
1 parent 92e963f commit d2613f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 0 additions & 6 deletions arch/arm/mach-shmobile/headsmp-scu.S
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,3 @@ ENTRY(shmobile_boot_scu)

b secondary_startup
ENDPROC(shmobile_boot_scu)

.text
.align 2
.globl shmobile_scu_base
shmobile_scu_base:
.space 4
3 changes: 3 additions & 0 deletions arch/arm/mach-shmobile/platsmp-scu.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
#include <asm/smp_scu.h>
#include "common.h"


void __iomem *shmobile_scu_base;

static int shmobile_smp_scu_notifier_call(struct notifier_block *nfb,
unsigned long action, void *hcpu)
{
Expand Down

0 comments on commit d2613f5

Please sign in to comment.