summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-09-18 12:20:19 +0200
committerCatalin Marinas <catalin.marinas@arm.com>2017-09-18 12:20:19 +0200
commitc73cc120a33e12e4e254b4b42bc613204ccb923b (patch)
tree24db6b0257d8ff2e18d8f422fb3c639b880f5f29
parentarm64: efi: Don't include EFI fpsimd save/restore code in non-EFI kernels (diff)
downloadlinux-c73cc120a33e12e4e254b4b42bc613204ccb923b.tar.xz
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>
-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