linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [powerpc/merge] Build failure arch/powerpc/kernel/fadump.c
@ 2021-04-19  7:00 Sachin Sant
  0 siblings, 0 replies; only message in thread
From: Sachin Sant @ 2021-04-19  7:00 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: sxwjean

[-- Attachment #1: Type: text/plain, Size: 1006 bytes --]

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


[-- Attachment #2: config.txt.gz --]
[-- Type: application/x-gzip, Size: 42947 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-19  7:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-19  7:00 [powerpc/merge] Build failure arch/powerpc/kernel/fadump.c Sachin Sant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).