interrupt.c:(.text.interrupt_exit_kernel_prepare+0x2b8): undefined reference to `replay_soft_interrupts'

From: kernel test robot
Date: Sat Feb 27 2021 - 15:55:01 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 5695e51619745d4fe3ec2506a2f0cd982c5e27a4
commit: 344bb20b159dd0996e521c0d4c131a6ae10c322a powerpc/syscall: Make interrupt.c buildable on PPC32
date: 2 weeks ago
config: powerpc-randconfig-r031-20210228 (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=powerpc

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.system_call_exception+0x226): undefined reference to `compat_sys_call_table'
powerpc-linux-ld: interrupt.c:(.text.system_call_exception+0x22a): undefined reference to `compat_sys_call_table'
powerpc-linux-ld: arch/powerpc/kernel/interrupt.o: in function `interrupt_exit_kernel_prepare':
>> interrupt.c:(.text.interrupt_exit_kernel_prepare+0x2b8): undefined reference to `replay_soft_interrupts'

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

Attachment: .config.gz
Description: application/gzip