提交 fa5ce5f9 编写于 作者: A Arnd Bergmann

ARM: w90x900: fix legacy assembly syntax

New ARM binutils don't allow extraneous whitespace inside
of brackets, which causes this error on all mach-w90x900
defconfigs:

arch/arm/kernel/entry-armv.S: Assembler messages:
arch/arm/kernel/entry-armv.S:214: Error: ARM register expected -- `ldr r0,[ r6,#(0x10C)]'
arch/arm/kernel/entry-armv.S:214: Error: ARM register expected -- `ldr r0,[ r6,#(0x110)]'
arch/arm/kernel/entry-armv.S:430: Error: ARM register expected -- `ldr r0,[ r6,#(0x10C)]'
arch/arm/kernel/entry-armv.S:430: Error: ARM register expected -- `ldr r0,[ r6,#(0x110)]'

This removes the whitespace in order to build the kernel
again.
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
Cc: Wan ZongShun <mcuos.com@gmail.com>
上级 2815774b
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
mov \base, #AIC_BA mov \base, #AIC_BA
ldr \irqnr, [ \base, #AIC_IPER] ldr \irqnr, [\base, #AIC_IPER]
ldr \irqnr, [ \base, #AIC_ISNR] ldr \irqnr, [\base, #AIC_ISNR]
cmp \irqnr, #0 cmp \irqnr, #0
.endm .endm
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册