提交 d2613f56 编写于 作者: G Geert Uytterhoeven 提交者: Simon Horman

ARM: shmobile: Move shmobile_scu_base from .text to .bss

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 4f6da36f ("ARM: shmobile:
Remove old SCU boot code").
Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
上级 92e963f5
...@@ -38,9 +38,3 @@ ENTRY(shmobile_boot_scu) ...@@ -38,9 +38,3 @@ ENTRY(shmobile_boot_scu)
b secondary_startup b secondary_startup
ENDPROC(shmobile_boot_scu) ENDPROC(shmobile_boot_scu)
.text
.align 2
.globl shmobile_scu_base
shmobile_scu_base:
.space 4
...@@ -17,6 +17,9 @@ ...@@ -17,6 +17,9 @@
#include <asm/smp_scu.h> #include <asm/smp_scu.h>
#include "common.h" #include "common.h"
void __iomem *shmobile_scu_base;
static int shmobile_smp_scu_notifier_call(struct notifier_block *nfb, static int shmobile_smp_scu_notifier_call(struct notifier_block *nfb,
unsigned long action, void *hcpu) unsigned long action, void *hcpu)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册