diff options
author | Paul Mackerras <paulus@samba.org> | 2005-11-10 04:29:18 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-10 04:29:18 +0100 |
commit | a7ddc5e85351931b67a48afa22788d77763837d8 (patch) | |
tree | 4b7b6ff70432f43e3aeab101445d74f0fd012722 /include/asm-powerpc/cputable.h | |
parent | powerpc: Fix SMP time initialization problem (diff) | |
download | linux-a7ddc5e85351931b67a48afa22788d77763837d8.tar.xz linux-a7ddc5e85351931b67a48afa22788d77763837d8.zip |
powerpc: Add user CPU features for POWER4, POWER5, POWER5+ and Cell.
This is at the request of the glibc folks, who want to use these bits
to select libraries optimized for the microarchitecture and new
instructions in these processors.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to '')
-rw-r--r-- | include/asm-powerpc/cputable.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-powerpc/cputable.h b/include/asm-powerpc/cputable.h index f89fd883e892..04e2726002cf 100644 --- a/include/asm-powerpc/cputable.h +++ b/include/asm-powerpc/cputable.h @@ -16,6 +16,10 @@ #define PPC_FEATURE_HAS_EFP_SINGLE 0x00400000 #define PPC_FEATURE_HAS_EFP_DOUBLE 0x00200000 #define PPC_FEATURE_NO_TB 0x00100000 +#define PPC_FEATURE_POWER4 0x00080000 +#define PPC_FEATURE_POWER5 0x00040000 +#define PPC_FEATURE_POWER5_PLUS 0x00020000 +#define PPC_FEATURE_CELL 0x00010000 #ifdef __KERNEL__ #ifndef __ASSEMBLY__ |