diff options
Diffstat (limited to 'src/mesa/ppc')
| -rw-r--r-- | src/mesa/ppc/common_ppc.c | 5 | ||||
| -rw-r--r-- | src/mesa/ppc/common_ppc_features.h | 3 | 
2 files changed, 7 insertions, 1 deletions
diff --git a/src/mesa/ppc/common_ppc.c b/src/mesa/ppc/common_ppc.c index 13526df78c..c7cec96e5d 100644 --- a/src/mesa/ppc/common_ppc.c +++ b/src/mesa/ppc/common_ppc.c @@ -38,6 +38,9 @@  #include <elf.h>  #endif +#include "common_ppc_features.h" + +  unsigned long _mesa_ppc_cpu_features = 0;  /** @@ -82,7 +85,7 @@ void _mesa_init_all_ppc_transform_asm( void )     }  # ifndef USE_VMX_ASM -   _mesa_ppc_cpu_features &= ~PPC_FEATURES_HAS_ALTIVEC; +   _mesa_ppc_cpu_features &= ~PPC_FEATURE_HAS_ALTIVEC;  # endif  #endif  } diff --git a/src/mesa/ppc/common_ppc_features.h b/src/mesa/ppc/common_ppc_features.h index 4d46ca04c9..9cde422d72 100644 --- a/src/mesa/ppc/common_ppc_features.h +++ b/src/mesa/ppc/common_ppc_features.h @@ -48,4 +48,7 @@ extern unsigned long _mesa_ppc_cpu_features;  #define cpu_has_fpu ((_mesa_ppc_cpu_features & PPC_FEATURE_HAS_FPU) != 0)  #endif /* USE_PPC_ASM */ + +extern void _mesa_init_all_ppc_transform_asm( void ); +  #endif /* COMMON_PPC_FEATURES_H */  | 
