From: Will Deacon Date: Wed, 6 Nov 2013 19:31:24 +0000 (+0000) Subject: arm64: futex: ensure .fixup entries are sufficiently aligned X-Git-Tag: accepted/tizen/common/20141203.182822~643^2~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4da7a56c59f28e27e8dcff61b5d7b05f6e203606;p=platform%2Fkernel%2Flinux-arm64.git arm64: futex: ensure .fixup entries are sufficiently aligned AArch64 instructions must be 4-byte aligned, so make sure this is true for the futex .fixup section. Signed-off-by: Will Deacon Signed-off-by: Catalin Marinas --- diff --git a/arch/arm64/include/asm/futex.h b/arch/arm64/include/asm/futex.h index c582fa3..78cc3ab 100644 --- a/arch/arm64/include/asm/futex.h +++ b/arch/arm64/include/asm/futex.h @@ -30,6 +30,7 @@ " cbnz %w3, 1b\n" \ "3:\n" \ " .pushsection .fixup,\"ax\"\n" \ +" .align 2\n" \ "4: mov %w0, %w5\n" \ " b 3b\n" \ " .popsection\n" \