diff options
author | Anton Blanchard <anton@samba.org> | 2005-12-12 15:45:33 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-08 22:53:41 -0500 |
commit | 2406f6063a9caa8ea39e4040e1759db553388caf (patch) | |
tree | 3b7674db31eddf0cbe17e9e5b4e2d8d65c3a5b77 /include/asm-powerpc/cputable.h | |
parent | 4b703a231799f43f3414b62300b8ad6736a4aa9d (diff) |
[PATCH] powerpc: Dont set 32bit cputable bits on 64bit
Milton and I were looking at the cputable code and it looks like we can
set spurious bits on 64bit.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/cputable.h')
-rw-r--r-- | include/asm-powerpc/cputable.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/include/asm-powerpc/cputable.h b/include/asm-powerpc/cputable.h index d1cfa3f515ea..4b6f03444ffe 100644 --- a/include/asm-powerpc/cputable.h +++ b/include/asm-powerpc/cputable.h | |||
@@ -311,6 +311,11 @@ enum { | |||
311 | #endif | 311 | #endif |
312 | 312 | ||
313 | CPU_FTRS_POSSIBLE = | 313 | CPU_FTRS_POSSIBLE = |
314 | #ifdef __powerpc64__ | ||
315 | CPU_FTRS_POWER3 | CPU_FTRS_RS64 | CPU_FTRS_POWER4 | | ||
316 | CPU_FTRS_PPC970 | CPU_FTRS_POWER5 | CPU_FTRS_CELL | | ||
317 | CPU_FTR_CI_LARGE_PAGE | | ||
318 | #else | ||
314 | #if CLASSIC_PPC | 319 | #if CLASSIC_PPC |
315 | CPU_FTRS_PPC601 | CPU_FTRS_603 | CPU_FTRS_604 | CPU_FTRS_740_NOTAU | | 320 | CPU_FTRS_PPC601 | CPU_FTRS_603 | CPU_FTRS_604 | CPU_FTRS_740_NOTAU | |
316 | CPU_FTRS_740 | CPU_FTRS_750 | CPU_FTRS_750FX1 | | 321 | CPU_FTRS_740 | CPU_FTRS_750 | CPU_FTRS_750FX1 | |
@@ -344,14 +349,14 @@ enum { | |||
344 | #ifdef CONFIG_E500 | 349 | #ifdef CONFIG_E500 |
345 | CPU_FTRS_E500 | CPU_FTRS_E500_2 | | 350 | CPU_FTRS_E500 | CPU_FTRS_E500_2 | |
346 | #endif | 351 | #endif |
347 | #ifdef __powerpc64__ | 352 | #endif /* __powerpc64__ */ |
348 | CPU_FTRS_POWER3 | CPU_FTRS_RS64 | CPU_FTRS_POWER4 | | ||
349 | CPU_FTRS_PPC970 | CPU_FTRS_POWER5 | CPU_FTRS_CELL | | ||
350 | CPU_FTR_CI_LARGE_PAGE | | ||
351 | #endif | ||
352 | 0, | 353 | 0, |
353 | 354 | ||
354 | CPU_FTRS_ALWAYS = | 355 | CPU_FTRS_ALWAYS = |
356 | #ifdef __powerpc64__ | ||
357 | CPU_FTRS_POWER3 & CPU_FTRS_RS64 & CPU_FTRS_POWER4 & | ||
358 | CPU_FTRS_PPC970 & CPU_FTRS_POWER5 & CPU_FTRS_CELL & | ||
359 | #else | ||
355 | #if CLASSIC_PPC | 360 | #if CLASSIC_PPC |
356 | CPU_FTRS_PPC601 & CPU_FTRS_603 & CPU_FTRS_604 & CPU_FTRS_740_NOTAU & | 361 | CPU_FTRS_PPC601 & CPU_FTRS_603 & CPU_FTRS_604 & CPU_FTRS_740_NOTAU & |
357 | CPU_FTRS_740 & CPU_FTRS_750 & CPU_FTRS_750FX1 & | 362 | CPU_FTRS_740 & CPU_FTRS_750 & CPU_FTRS_750FX1 & |
@@ -385,10 +390,7 @@ enum { | |||
385 | #ifdef CONFIG_E500 | 390 | #ifdef CONFIG_E500 |
386 | CPU_FTRS_E500 & CPU_FTRS_E500_2 & | 391 | CPU_FTRS_E500 & CPU_FTRS_E500_2 & |
387 | #endif | 392 | #endif |
388 | #ifdef __powerpc64__ | 393 | #endif /* __powerpc64__ */ |
389 | CPU_FTRS_POWER3 & CPU_FTRS_RS64 & CPU_FTRS_POWER4 & | ||
390 | CPU_FTRS_PPC970 & CPU_FTRS_POWER5 & CPU_FTRS_CELL & | ||
391 | #endif | ||
392 | CPU_FTRS_POSSIBLE, | 394 | CPU_FTRS_POSSIBLE, |
393 | }; | 395 | }; |
394 | 396 | ||