summaryrefslogtreecommitdiffstats
path: root/arch/tile/include/asm/futex.h
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2013-08-09 15:38:43 -0400
committerChris Metcalf <cmetcalf@tilera.com>2013-08-30 11:56:11 -0400
commitd4d9eab4ade468b6a97b6853fdd72e8f21474324 (patch)
treecc7ebd45a2fb7f4abc1bde7d362c8f174016dfa2 /arch/tile/include/asm/futex.h
parent3fa17c395bb0c358745fbe0c8aa039d6cdac1735 (diff)
downloadop-kernel-dev-d4d9eab4ade468b6a97b6853fdd72e8f21474324.zip
op-kernel-dev-d4d9eab4ade468b6a97b6853fdd72e8f21474324.tar.gz
tile: use proper .align directives on __ex_table sections
This may fix a reported bug where an R_TILEGX_64 in a module was not pointing to an aligned address. Reported-by: Simon Marchi <simon.marchi@polymtl.ca> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/include/asm/futex.h')
-rw-r--r--arch/tile/include/asm/futex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/tile/include/asm/futex.h b/arch/tile/include/asm/futex.h
index 5909ac3..1a6ef1b 100644
--- a/arch/tile/include/asm/futex.h
+++ b/arch/tile/include/asm/futex.h
@@ -43,6 +43,7 @@
".pushsection .fixup,\"ax\"\n" \
"0: { movei %0, %5; j 9f }\n" \
".section __ex_table,\"a\"\n" \
+ ".align 8\n" \
".quad 1b, 0b\n" \
".popsection\n" \
"9:" \
OpenPOWER on IntegriCloud