Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e34cda04 authored by Kyle McMartin's avatar Kyle McMartin Committed by Ingo Molnar
Browse files

x86: 64-bit, remove redundant cpu_has_ definitions



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: default avatarKyle McMartin <kyle@mcmartin.ca>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 316390b0
Loading
Loading
Loading
Loading
+0 −15
Original line number Original line Diff line number Diff line
@@ -194,21 +194,6 @@
#undef  cpu_has_centaur_mcr
#undef  cpu_has_centaur_mcr
#define cpu_has_centaur_mcr	0
#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 /* CONFIG_X86_64 */


#endif /* _ASM_X86_CPUFEATURE_H */
#endif /* _ASM_X86_CPUFEATURE_H */