aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/cputable.h
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2011-12-20 10:34:14 -0500
committerAvi Kivity <avi@redhat.com>2012-04-08 05:50:54 -0400
commit06aae86799c1b37f216371e05a1eacb2188bee9d (patch)
tree0090bf286b19248e51897ad41ad4ed77c92a8b62 /arch/powerpc/include/asm/cputable.h
parent52b066fa4e9cbfe45243dd4259b053d3fa7e21f1 (diff)
powerpc/e500: split CPU_FTRS_ALWAYS/CPU_FTRS_POSSIBLE
Split e500 (v1/v2) and e500mc/e5500 to allow optimization of feature checks that differ between the two. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/include/asm/cputable.h')
-rw-r--r--arch/powerpc/include/asm/cputable.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/arch/powerpc/include/asm/cputable.h b/arch/powerpc/include/asm/cputable.h
index 3be45cd9aa81..7108a9c490a3 100644
--- a/arch/powerpc/include/asm/cputable.h
+++ b/arch/powerpc/include/asm/cputable.h
@@ -487,8 +487,10 @@ enum {
487 CPU_FTRS_E200 | 487 CPU_FTRS_E200 |
488#endif 488#endif
489#ifdef CONFIG_E500 489#ifdef CONFIG_E500
490 CPU_FTRS_E500 | CPU_FTRS_E500_2 | CPU_FTRS_E500MC | 490 CPU_FTRS_E500 | CPU_FTRS_E500_2 |
491 CPU_FTRS_E5500 | CPU_FTRS_E6500 | 491#endif
492#ifdef CONFIG_PPC_E500MC
493 CPU_FTRS_E500MC | CPU_FTRS_E5500 | CPU_FTRS_E6500 |
492#endif 494#endif
493 0, 495 0,
494}; 496};
@@ -532,8 +534,10 @@ enum {
532 CPU_FTRS_E200 & 534 CPU_FTRS_E200 &
533#endif 535#endif
534#ifdef CONFIG_E500 536#ifdef CONFIG_E500
535 CPU_FTRS_E500 & CPU_FTRS_E500_2 & CPU_FTRS_E500MC & 537 CPU_FTRS_E500 & CPU_FTRS_E500_2 &
536 CPU_FTRS_E5500 & CPU_FTRS_E6500 & 538#endif
539#ifdef CONFIG_PPC_E500MC
540 CPU_FTRS_E500MC & CPU_FTRS_E5500 & CPU_FTRS_E6500 &
537#endif 541#endif
538 CPU_FTRS_POSSIBLE, 542 CPU_FTRS_POSSIBLE,
539}; 543};