ARM: shmobile: Insert align directives before 4 bytes data
authorTetsuyuki Kobayashi <koba@kmckk.co.jp>
Wed, 10 Jul 2013 01:56:37 +0000 (10:56 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 17 Jul 2013 23:35:21 +0000 (08:35 +0900)
In thumb2 mode instructions are not align to 4 byte. This patch insert
align directives before putting 4 byte data.

Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/headsmp-scu.S
arch/arm/mach-shmobile/headsmp.S
arch/arm/mach-shmobile/sleep-sh7372.S

index 5ce416c090e191b0cee2e2f84128846b310971d5..0a77488df8702db1f508695dccb3b986f5a8faaa 100644 (file)
@@ -46,6 +46,7 @@ ENTRY(shmobile_boot_scu)
 ENDPROC(shmobile_boot_scu)
 
        .text
+       .align  2
        .globl  shmobile_scu_base
 shmobile_scu_base:
        .space  4
index afed58e52ae68a3cb4df1cc7a9d9af3b034fb38c..dfb41dfc8948dd76cce1af1ab8221fbd7c772d09 100644 (file)
@@ -35,6 +35,7 @@ ENTRY(shmobile_boot_vector)
 
 ENDPROC(shmobile_boot_vector)
 
+       .align  2
        .globl  shmobile_boot_fn
 shmobile_boot_fn:
 1:     .space  4
index 53f4840e494914526b4ab23fa09b7a19473c4476..9782862899e81f1895ae0f1312cdfa5623d58914 100644 (file)
@@ -41,6 +41,7 @@
 sh7372_resume_core_standby_sysc:
        ldr     pc, 1f
 
+       .align  2
        .globl  sh7372_cpu_resume
 sh7372_cpu_resume:
 1:     .space  4
@@ -96,6 +97,7 @@ sh7372_do_idle_sysc:
 1:
        b      1b
 
+       .align  2
 kernel_flush:
        .word v7_flush_dcache_all
 #endif
This page took 0.027862 seconds and 5 git commands to generate.