interrupt.c:undefined reference to `replay_soft_interrupts'

From: kernel test robot
Date: Tue Feb 23 2021 - 11:38:28 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3b9cdafb5358eb9f3790de2f728f765fef100731
commit: 344bb20b159dd0996e521c0d4c131a6ae10c322a powerpc/syscall: Make interrupt.c buildable on PPC32
date: 12 days ago
config: powerpc64-randconfig-r013-20210223 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=344bb20b159dd0996e521c0d4c131a6ae10c322a
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 344bb20b159dd0996e521c0d4c131a6ae10c322a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc64

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

powerpc-linux-ld: arch/powerpc/kernel/interrupt.o: in function `system_call_exception':
interrupt.c:(.text+0x3ea): undefined reference to `compat_sys_call_table'
powerpc-linux-ld: interrupt.c:(.text+0x3f6): undefined reference to `compat_sys_call_table'
powerpc-linux-ld: arch/powerpc/kernel/interrupt.o: in function `interrupt_exit_kernel_prepare':
>> interrupt.c:(.text+0xc2c): undefined reference to `replay_soft_interrupts'

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for HOTPLUG_CPU
Depends on SMP && (PPC_PSERIES || PPC_PMAC || PPC_POWERNV || FSL_SOC_BOOKE
Selected by
- PM_SLEEP_SMP && SMP && (ARCH_SUSPEND_POSSIBLE || ARCH_HIBERNATION_POSSIBLE && PM_SLEEP

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip