On Tue, Oct 15, 2013 at 02:52:45PM +0000, Justin Hibbits wrote: > Author: jhibbits > Date: Tue Oct 15 14:52:44 2013 > New Revision: 256542 > URL: http://svnweb.freebsd.org/changeset/base/256542 > > Log: > Move the PMC handling to the first level interrupt handler where it belongs. > Also add the pmc_hook use, to handle callchain tracing. > > MFC after: 1 week > > Modified: > head/sys/powerpc/aim/interrupt.c > head/sys/powerpc/aim/trap.c >
I think this breaks the powerpc/WII kernel build. cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/r/releng/universe/head/sys -I/r/releng/universe/head/sys/contrib/altq -I/r/releng/universe/head/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /r/releng/universe/head/sys/powerpc/aim/interrupt.c /r/releng/universe/head/sys/powerpc/aim/interrupt.c: In function 'powerpc_interrupt': /r/releng/universe/head/sys/powerpc/aim/interrupt.c:106: error: 'pmc_intr' undeclared (first use in this function) /r/releng/universe/head/sys/powerpc/aim/interrupt.c:106: error: (Each undeclared identifier is reported only once /r/releng/universe/head/sys/powerpc/aim/interrupt.c:106: error: for each function it appears in.) *** [interrupt.o] Error code 1 Glen
pgpDWmoct4zh_.pgp
Description: PGP signature