diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-01-09 16:41:40 -0500 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-01-16 09:56:15 -0500 |
commit | 0a60cb14a58696100481674682eb07ffb2a8eac7 (patch) | |
tree | fab02d973e87f08d25df34dfc250c9ac354da4a0 /arch | |
parent | f7597c02a2e6fada7a065b03efe283ae7ef0e0bc (diff) |
ARM: imx: remove incorrect BSYM usage
BSYM macro is only needed for assembly files and its usage in c files is
wrong, so remove it. The linker will correctly set bit 0 for Thumb2
kernels.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Sascha Hauer <kernel@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Dave Martin <dave.martin@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/src.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/src.c b/arch/arm/mach-imx/src.c index a8e33681b732..74a4b5d3d1c0 100644 --- a/arch/arm/mach-imx/src.c +++ b/arch/arm/mach-imx/src.c | |||
@@ -15,7 +15,6 @@ | |||
15 | #include <linux/of.h> | 15 | #include <linux/of.h> |
16 | #include <linux/of_address.h> | 16 | #include <linux/of_address.h> |
17 | #include <linux/smp.h> | 17 | #include <linux/smp.h> |
18 | #include <asm/unified.h> | ||
19 | 18 | ||
20 | #define SRC_SCR 0x000 | 19 | #define SRC_SCR 0x000 |
21 | #define SRC_GPR1 0x020 | 20 | #define SRC_GPR1 0x020 |
@@ -42,7 +41,7 @@ void imx_enable_cpu(int cpu, bool enable) | |||
42 | void imx_set_cpu_jump(int cpu, void *jump_addr) | 41 | void imx_set_cpu_jump(int cpu, void *jump_addr) |
43 | { | 42 | { |
44 | cpu = cpu_logical_map(cpu); | 43 | cpu = cpu_logical_map(cpu); |
45 | writel_relaxed(BSYM(virt_to_phys(jump_addr)), | 44 | writel_relaxed(virt_to_phys(jump_addr), |
46 | src_base + SRC_GPR1 + cpu * 8); | 45 | src_base + SRC_GPR1 + cpu * 8); |
47 | } | 46 | } |
48 | 47 | ||