diff options
Diffstat (limited to 'arch/powerpc/kernel/prom.c')
-rw-r--r-- | arch/powerpc/kernel/prom.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c index 2aefe2a4129a..87d83c56b31e 100644 --- a/arch/powerpc/kernel/prom.c +++ b/arch/powerpc/kernel/prom.c | |||
@@ -609,6 +609,10 @@ static struct feature_property { | |||
609 | {"altivec", 0, CPU_FTR_ALTIVEC, PPC_FEATURE_HAS_ALTIVEC}, | 609 | {"altivec", 0, CPU_FTR_ALTIVEC, PPC_FEATURE_HAS_ALTIVEC}, |
610 | {"ibm,vmx", 1, CPU_FTR_ALTIVEC, PPC_FEATURE_HAS_ALTIVEC}, | 610 | {"ibm,vmx", 1, CPU_FTR_ALTIVEC, PPC_FEATURE_HAS_ALTIVEC}, |
611 | #endif /* CONFIG_ALTIVEC */ | 611 | #endif /* CONFIG_ALTIVEC */ |
612 | #ifdef CONFIG_VSX | ||
613 | /* Yes, this _really_ is ibm,vmx == 2 to enable VSX */ | ||
614 | {"ibm,vmx", 2, CPU_FTR_VSX, PPC_FEATURE_HAS_VSX}, | ||
615 | #endif /* CONFIG_VSX */ | ||
612 | #ifdef CONFIG_PPC64 | 616 | #ifdef CONFIG_PPC64 |
613 | {"ibm,dfp", 1, 0, PPC_FEATURE_HAS_DFP}, | 617 | {"ibm,dfp", 1, 0, PPC_FEATURE_HAS_DFP}, |
614 | {"ibm,purr", 1, CPU_FTR_PURR, 0}, | 618 | {"ibm,purr", 1, CPU_FTR_PURR, 0}, |