mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 16:58:53 +00:00
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: Kyle McMartin <kyle@mcmartin.ca> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
316390b093
commit
e34cda04d4
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user