mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 21:16:44 +07:00
ec481536b1
Unify the handling of the CPU features vectors between i386 and x86-64. This also adopts the collapsing of features which are required at compile-time into constant tests from x86-64 to i386. Signed-off-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
31 lines
557 B
C
31 lines
557 B
C
/*
|
|
* cpufeature.h
|
|
*
|
|
* Defines x86 CPU feature bits
|
|
*/
|
|
|
|
#ifndef __ASM_X8664_CPUFEATURE_H
|
|
#define __ASM_X8664_CPUFEATURE_H
|
|
|
|
#include <asm-i386/cpufeature.h>
|
|
|
|
#undef cpu_has_vme
|
|
#define cpu_has_vme 0
|
|
|
|
#undef cpu_has_pae
|
|
#define cpu_has_pae ___BUG___
|
|
|
|
#undef cpu_has_mp
|
|
#define cpu_has_mp 1 /* XXX */
|
|
|
|
#undef cpu_has_k6_mtrr
|
|
#define cpu_has_k6_mtrr 0
|
|
|
|
#undef cpu_has_cyrix_arr
|
|
#define cpu_has_cyrix_arr 0
|
|
|
|
#undef cpu_has_centaur_mcr
|
|
#define cpu_has_centaur_mcr 0
|
|
|
|
#endif /* __ASM_X8664_CPUFEATURE_H */
|