[powerpc/merge] Build failure arch/powerpc/kernel/fadump.c

Sachin Sant sachinp at linux.vnet.ibm.com
Mon Apr 19 17:00:24 AEST 2021


powerpc/merge branch(commit e4361a664e) fails to build with following error:

  CC      arch/powerpc/kernel/fadump.o
arch/powerpc/kernel/fadump.c: In function 'crash_fadump':
arch/powerpc/kernel/fadump.c:731:28: error: 'INTERRUPT_SYSTEM_RESET' undeclared (first use in this function); did you mean 'EEH_PE_STATE_RESET'?
  if (TRAP(&(fdh->regs)) == INTERRUPT_SYSTEM_RESET) {
                            ^~~~~~~~~~~~~~~~~~~~~~
                            EEH_PE_STATE_RESET
arch/powerpc/kernel/fadump.c:731:28: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [scripts/Makefile.build:271: arch/powerpc/kernel/fadump.o] Error 1
make[1]: *** [scripts/Makefile.build:514: arch/powerpc/kernel] Error 2
make: *** [Makefile:1851: arch/powerpc] Error 2

The macro in question was introduced by

commit 7153d4bf0b373428d0393c001019da4d0483fddb
powerpc/traps: Enhance readability for trap types

Have attached kernel config.

Thanks
- Sachin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.txt.gz
Type: application/x-gzip
Size: 42947 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20210419/40d821a5/attachment-0001.bin>


More information about the Linuxppc-dev mailing list