uapi/linux/rseq.h aligns struct rseq_cs on 32 bytes. Satisfy this alignment requirement in its definition within the rseq-arm.h inline assembly.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoy...@efficios.com> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Joel Fernandes <joe...@google.com> Cc: Peter Zijlstra <pet...@infradead.org> Cc: Catalin Marinas <catalin.mari...@arm.com> Cc: Dave Watson <davejwat...@fb.com> Cc: Will Deacon <will.dea...@arm.com> Cc: Shuah Khan <shua...@osg.samsung.com> Cc: Andi Kleen <a...@firstfloor.org> Cc: linux-kselft...@vger.kernel.org Cc: "H . Peter Anvin" <h...@zytor.com> Cc: Chris Lameter <c...@linux.com> Cc: Russell King <li...@arm.linux.org.uk> Cc: Andrew Hunter <a...@google.com> Cc: Michael Kerrisk <mtk.manpa...@gmail.com> Cc: "Paul E . McKenney" <paul...@linux.vnet.ibm.com> Cc: Paul Turner <p...@google.com> Cc: Boqun Feng <boqun.f...@gmail.com> Cc: Josh Triplett <j...@joshtriplett.org> Cc: Steven Rostedt <rost...@goodmis.org> Cc: Ben Maurer <bmau...@fb.com> Cc: linux-...@vger.kernel.org Cc: Andy Lutomirski <l...@amacapital.net> Cc: Andrew Morton <a...@linux-foundation.org> Cc: Linus Torvalds <torva...@linux-foundation.org> --- tools/testing/selftests/rseq/rseq-arm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/rseq/rseq-arm.h b/tools/testing/selftests/rseq/rseq-arm.h index 3b055f9aeaab..3cea19877227 100644 --- a/tools/testing/selftests/rseq/rseq-arm.h +++ b/tools/testing/selftests/rseq/rseq-arm.h @@ -57,6 +57,7 @@ do { \ #define __RSEQ_ASM_DEFINE_ABORT(table_label, label, teardown, \ abort_label, version, flags, \ start_ip, post_commit_offset, abort_ip) \ + ".balign 32\n\t" \ __rseq_str(table_label) ":\n\t" \ ".word " __rseq_str(version) ", " __rseq_str(flags) "\n\t" \ ".word " __rseq_str(start_ip) ", 0x0, " __rseq_str(post_commit_offset) ", 0x0, " __rseq_str(abort_ip) ", 0x0\n\t" \ -- 2.11.0