Skip to content

Commit

Permalink
powerpc/64: Make server perfmon only built on ppc64 server devices
Browse files Browse the repository at this point in the history
The 64-bit Book-E parts (to date) dont utilize the 'server' class
perfmon.  So building or depending on it makes no sense (and does break
FSL Book-E 64-bit support).  Move the selection of PPC_HAVE_PMU_SUPPORT
to be based on PPC_BOOK3S_64.

Based on a patch from Scott Wood.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Kumar Gala authored and Benjamin Herrenschmidt committed Jul 22, 2011
1 parent 4b575f3 commit 5adfd34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/Kconfig.cputype
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
config PPC64
bool "64-bit kernel"
default n
select PPC_HAVE_PMU_SUPPORT
help
This option selects whether a 32-bit or a 64-bit kernel
will be built.
Expand Down Expand Up @@ -69,6 +68,7 @@ choice
config PPC_BOOK3S_64
bool "Server processors"
select PPC_FPU
select PPC_HAVE_PMU_SUPPORT

config PPC_BOOK3E_64
bool "Embedded processors"
Expand Down

0 comments on commit 5adfd34

Please sign in to comment.