linux/arch
Andrea Righi de979c8357 x86/entry: Build thunk_$(BITS) only if CONFIG_PREEMPTION=y
With CONFIG_PREEMPTION disabled, arch/x86/entry/thunk_$(BITS).o becomes
an empty object file.

With some old versions of binutils (i.e., 2.35.90.20210113-1ubuntu1) the
GNU assembler doesn't generate a symbol table for empty object files and
objtool fails with the following error when a valid symbol table cannot
be found:

  arch/x86/entry/thunk_64.o: warning: objtool: missing symbol table

To prevent this from happening, build thunk_$(BITS).o only if
CONFIG_PREEMPTION is enabled.

BugLink: https://bugs.launchpad.net/bugs/1911359

Fixes: 320100a5ff ("x86/entry: Remove the TRACE_IRQS cruft")
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/Ys/Ke7EWjcX+ZlXO@arighi-desktop
2022-08-04 12:23:50 +02:00
..
alpha genirq: Add and use an irq_data_update_affinity helper 2022-07-07 09:38:04 +01:00
arc
arm Updates for interrupt core and drivers: 2022-08-01 12:48:15 -07:00
arm64 This was a fairly quiet cycle for the locking subsystem: 2022-08-01 12:15:27 -07:00
csky csky/tlb: Remove tlb_flush() define 2022-07-21 10:50:13 -07:00
hexagon
ia64 genirq: Add and use an irq_data_update_affinity helper 2022-07-07 09:38:04 +01:00
loongarch Updates for interrupt core and drivers: 2022-08-01 12:48:15 -07:00
m68k m68k: defconfig: Update defconfigs for v5.19-rc1 2022-07-12 10:48:21 +02:00
microblaze
mips Updates for interrupt core and drivers: 2022-08-01 12:48:15 -07:00
nios2
openrisc openrisc: unwinder: Fix grammar issue in comment 2022-06-28 17:31:24 +09:00
parisc Updates for interrupt core and drivers: 2022-08-01 12:48:15 -07:00
powerpc powerpc fixes for 5.19 #6 2022-07-29 09:57:07 -07:00
riscv This was a fairly quiet cycle for the locking subsystem: 2022-08-01 12:15:27 -07:00
s390 This was a fairly quiet cycle for the locking subsystem: 2022-08-01 12:15:27 -07:00
sh Updates for interrupt core and drivers: 2022-08-01 12:48:15 -07:00
sparc This was a fairly quiet cycle for the locking subsystem: 2022-08-01 12:15:27 -07:00
um - Improve the check whether the kernel supports WP mappings so that it 2022-07-17 08:27:30 -07:00
x86 x86/entry: Build thunk_$(BITS) only if CONFIG_PREEMPTION=y 2022-08-04 12:23:50 +02:00
xtensa Updates for interrupt core and drivers: 2022-08-01 12:48:15 -07:00
.gitignore
Kconfig arm64 updates for 5.20 2022-08-01 10:37:00 -07:00