ARM: imx: remove incorrect BSYM usage
authorRob Herring <rob.herring@calxeda.com>
Mon, 9 Jan 2012 21:41:40 +0000 (15:41 -0600)
committerRob Herring <rob.herring@calxeda.com>
Mon, 16 Jan 2012 14:56:15 +0000 (08:56 -0600)
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>
arch/arm/mach-imx/src.c

index a8e33681b73251f498a7cfee463f20c3f6d0e1ff..74a4b5d3d1c0e91939803cd6b712ba5c2aed116f 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/of.h>
 #include <linux/of_address.h>
 #include <linux/smp.h>
-#include <asm/unified.h>
 
 #define SRC_SCR                                0x000
 #define SRC_GPR1                       0x020
@@ -42,7 +41,7 @@ void imx_enable_cpu(int cpu, bool enable)
 void imx_set_cpu_jump(int cpu, void *jump_addr)
 {
        cpu = cpu_logical_map(cpu);
-       writel_relaxed(BSYM(virt_to_phys(jump_addr)),
+       writel_relaxed(virt_to_phys(jump_addr),
                       src_base + SRC_GPR1 + cpu * 8);
 }
 
This page took 0.024638 seconds and 5 git commands to generate.