Revision 966a0acce2fca776391823381dba95c40e03c339 authored by Sami Tolvanen on 30 July 2020, 15:37:01 UTC, committed by Will Deacon on 30 July 2020, 15:50:14 UTC
Commit f7b93d42945c ("arm64/alternatives: use subsections for replacement
sequences") breaks LLVM's integrated assembler, because due to its
one-pass design, it cannot compute instruction sequence lengths before the
layout for the subsection has been finalized. This change fixes the build
by moving the .org directives inside the subsection, so they are processed
after the subsection layout is known.

Fixes: f7b93d42945c ("arm64/alternatives: use subsections for replacement sequences")
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Link: https://github.com/ClangBuiltLinux/linux/issues/1078
Link: https://lore.kernel.org/r/20200730153701.3892953-1-samitolvanen@google.com
Signed-off-by: Will Deacon <will@kernel.org>
1 parent 7b7891c
History
File Mode Size
Makefile -rw-r--r-- 1.2 KB
lock_events.c -rw-r--r-- 4.3 KB
lock_events.h -rw-r--r-- 1.7 KB
lock_events_list.h -rw-r--r-- 3.2 KB
lockdep.c -rw-r--r-- 144.8 KB
lockdep_internals.h -rw-r--r-- 6.9 KB
lockdep_proc.c -rw-r--r-- 17.8 KB
lockdep_states.h -rw-r--r-- 207 bytes
locktorture.c -rw-r--r-- 27.7 KB
mcs_spinlock.h -rw-r--r-- 3.7 KB
mutex-debug.c -rw-r--r-- 2.8 KB
mutex-debug.h -rw-r--r-- 1.1 KB
mutex.c -rw-r--r-- 37.5 KB
mutex.h -rw-r--r-- 841 bytes
osq_lock.c -rw-r--r-- 5.7 KB
percpu-rwsem.c -rw-r--r-- 7.1 KB
qrwlock.c -rw-r--r-- 2.3 KB
qspinlock.c -rw-r--r-- 16.5 KB
qspinlock_paravirt.h -rw-r--r-- 16.0 KB
qspinlock_stat.h -rw-r--r-- 3.0 KB
rtmutex-debug.c -rw-r--r-- 4.6 KB
rtmutex-debug.h -rw-r--r-- 1.4 KB
rtmutex.c -rw-r--r-- 50.9 KB
rtmutex.h -rw-r--r-- 1.2 KB
rtmutex_common.h -rw-r--r-- 4.2 KB
rwsem.c -rw-r--r-- 47.0 KB
rwsem.h -rw-r--r-- 0 bytes
semaphore.c -rw-r--r-- 7.2 KB
spinlock.c -rw-r--r-- 9.6 KB
spinlock_debug.c -rw-r--r-- 5.7 KB
test-ww_mutex.c -rw-r--r-- 12.3 KB

back to top