summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-09-18 11:20:19 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2017-09-18 11:20:19 +0100
commitc73cc120a33e12e4e254b4b42bc613204ccb923b (patch)
tree24db6b0257d8ff2e18d8f422fb3c639b880f5f29 /arch
parente580b8bc4316cbb8bbffb5ed7bf1e477064755ed (diff)
downloadlinux-c73cc120a33e12e4e254b4b42bc613204ccb923b.tar.gz
linux-c73cc120a33e12e4e254b4b42bc613204ccb923b.tar.bz2
linux-c73cc120a33e12e4e254b4b42bc613204ccb923b.zip
arm64: relax assembly code alignment from 16 byte to 4 byte
Aarch64 instructions must be word aligned. The current 16 byte alignment is more than enough. Relax it into 4 byte alignment. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/include/asm/linkage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/include/asm/linkage.h b/arch/arm64/include/asm/linkage.h
index 636c1bced7d4..1b266292f0be 100644
--- a/arch/arm64/include/asm/linkage.h
+++ b/arch/arm64/include/asm/linkage.h
@@ -1,7 +1,7 @@
#ifndef __ASM_LINKAGE_H
#define __ASM_LINKAGE_H
-#define __ALIGN .align 4
-#define __ALIGN_STR ".align 4"
+#define __ALIGN .align 2
+#define __ALIGN_STR ".align 2"
#endif