LinuxPPC-Dev Archive on
 help / color / 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) {
arch/powerpc/kernel/fadump.c:731:28: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [scripts/ arch/powerpc/kernel/fadump.o] Error 1
make[1]: *** [scripts/ 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.

- 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, back to index

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

LinuxPPC-Dev Archive on

Archives are clonable:
	git clone --mirror linuxppc-dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linuxppc-dev linuxppc-dev/ \
	public-inbox-index linuxppc-dev

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone