diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-06-14 10:45:50 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-06-16 00:15:46 -0400 |
commit | 48c931125bf228a529b8d05218e9fdda899dfa93 (patch) | |
tree | db8d4f1c1ee9414e2b38d8dbb073278c6675dcf9 /arch | |
parent | c4b512bc832c6c6aab14acb2bd96940e867e5018 (diff) |
powerpc: Fix invalid construct in our CPU selection Kconfig
commit 5b7c3c918c9c26c50d220b2b50359208cb5a1dbe introduced an invalid
construct in our CPU selection. This caused warnings, though it still
appeared to do the right thing.
This fixes it properly by having separate formal definitions of
PPC_BOOK3S_32 and PPC_BOOK3S_64 and one statement defining
PPC_BOOK3S based on the two above.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/Kconfig.cputype | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype index cca6b4fc719a..c4192542b809 100644 --- a/arch/powerpc/platforms/Kconfig.cputype +++ b/arch/powerpc/platforms/Kconfig.cputype | |||
@@ -21,7 +21,7 @@ choice | |||
21 | 21 | ||
22 | If unsure, select 52xx/6xx/7xx/74xx/82xx/83xx/86xx. | 22 | If unsure, select 52xx/6xx/7xx/74xx/82xx/83xx/86xx. |
23 | 23 | ||
24 | config PPC_BOOK3S | 24 | config PPC_BOOK3S_32 |
25 | bool "512x/52xx/6xx/7xx/74xx/82xx/83xx/86xx" | 25 | bool "512x/52xx/6xx/7xx/74xx/82xx/83xx/86xx" |
26 | select PPC_FPU | 26 | select PPC_FPU |
27 | 27 | ||
@@ -57,11 +57,14 @@ config E200 | |||
57 | 57 | ||
58 | endchoice | 58 | endchoice |
59 | 59 | ||
60 | config PPC_BOOK3S | 60 | config PPC_BOOK3S_64 |
61 | default y | 61 | def_bool y |
62 | depends on PPC64 | 62 | depends on PPC64 |
63 | select PPC_FPU | 63 | select PPC_FPU |
64 | 64 | ||
65 | config PPC_BOOK3S | ||
66 | def_bool y | ||
67 | depends on PPC_BOOK3S_32 || PPC_BOOK3S_64 | ||
65 | 68 | ||
66 | config POWER4_ONLY | 69 | config POWER4_ONLY |
67 | bool "Optimize for POWER4" | 70 | bool "Optimize for POWER4" |