diff options
author | Will Deacon <will.deacon@arm.com> | 2013-11-06 14:31:24 -0500 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2013-12-19 12:43:07 -0500 |
commit | 4da7a56c59f28e27e8dcff61b5d7b05f6e203606 (patch) | |
tree | 575af2e3ddffa656f26daa7138083b5a0954a72c /arch/arm64/include | |
parent | 12a0ef7b0ac38677bd2d85f33df5ca0a57868819 (diff) |
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 <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r-- | arch/arm64/include/asm/futex.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/futex.h b/arch/arm64/include/asm/futex.h index c582fa316366..78cc3aba5d69 100644 --- a/arch/arm64/include/asm/futex.h +++ b/arch/arm64/include/asm/futex.h | |||
@@ -30,6 +30,7 @@ | |||
30 | " cbnz %w3, 1b\n" \ | 30 | " cbnz %w3, 1b\n" \ |
31 | "3:\n" \ | 31 | "3:\n" \ |
32 | " .pushsection .fixup,\"ax\"\n" \ | 32 | " .pushsection .fixup,\"ax\"\n" \ |
33 | " .align 2\n" \ | ||
33 | "4: mov %w0, %w5\n" \ | 34 | "4: mov %w0, %w5\n" \ |
34 | " b 3b\n" \ | 35 | " b 3b\n" \ |
35 | " .popsection\n" \ | 36 | " .popsection\n" \ |