Skip to content

Commit

Permalink
x86: 64-bit, remove redundant cpu_has_ definitions
Browse files Browse the repository at this point in the history
PSE, PGE, XMM, XMM2, and FXSR are defined as required features, and
will be optimized to a constant at compile time. Remove their redundant
definitions.

Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Kyle McMartin authored and Ingo Molnar committed Jan 30, 2008
1 parent 316390b commit e34cda0
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions include/asm-x86/cpufeature.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,21 +194,6 @@
#undef cpu_has_centaur_mcr
#define cpu_has_centaur_mcr 0

#undef cpu_has_pse
#define cpu_has_pse 1

#undef cpu_has_pge
#define cpu_has_pge 1

#undef cpu_has_xmm
#define cpu_has_xmm 1

#undef cpu_has_xmm2
#define cpu_has_xmm2 1

#undef cpu_has_fxsr
#define cpu_has_fxsr 1

#endif /* CONFIG_X86_64 */

#endif /* _ASM_X86_CPUFEATURE_H */

0 comments on commit e34cda0

Please sign in to comment.