]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ppc32: fix build with oprofile
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 23 Sep 2005 04:43:55 +0000 (21:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Sep 2005 05:17:34 +0000 (22:17 -0700)
commit72e42f0370f62ade4c6c2c0ab031c68fbe63e9be
treede338fb876f51ba3d4a476b1b69694b3f7b36e5a
parent02be88ac62a36ef14a87f40212759080073834c1
[PATCH] ppc32: fix build with oprofile

Current -git tree doesn't build when enabling oprofile on a non-bookE CPU
(like on a PowerMac for example).  While there is no performance counter
support for these CPUs implemented yet, it's still nice to be able to use
the timer based sampling, and that got broken.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/kernel/Makefile
arch/ppc/kernel/perfmon.c