aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorHelge Deller <[email protected]>2021-01-26 19:16:21 +0000
committerHelge Deller <[email protected]>2021-01-26 19:16:21 +0000
commit00e35f2b0e8acb88d4e1aa96ff0490e3bfe46580 (patch)
treeda600cafe83d51b41ea5d26174a816fc3dc7fa21 /net/switchdev/switchdev.c
parentparisc: Remove leftover reference to the power_tasklet (diff)
downloadkernel-00e35f2b0e8acb88d4e1aa96ff0490e3bfe46580.tar.gz
kernel-00e35f2b0e8acb88d4e1aa96ff0490e3bfe46580.zip
parisc: Enable -mlong-calls gcc option by default when !CONFIG_MODULES
When building a kernel without module support, the CONFIG_MLONGCALL option needs to be enabled in order to reach symbols which are outside of a 22-bit branch. This patch changes the autodetection in the Kconfig script to always enable CONFIG_MLONGCALL when modules are disabled and uses a far call to preempt_schedule_irq() in intr_do_preempt() to reach the symbol in all cases. Signed-off-by: Helge Deller <[email protected]> Reported-by: kernel test robot <[email protected]> Cc: [email protected] # v5.6+
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions