patch-2.4.21 linux-2.4.21/include/asm-i386/cpufeature.h

Next file: linux-2.4.21/include/asm-i386/delay.h
Previous file: linux-2.4.21/include/asm-i386/byteorder.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/include/asm-i386/cpufeature.h linux-2.4.21/include/asm-i386/cpufeature.h
@@ -64,6 +64,8 @@
 #define X86_FEATURE_CYRIX_ARR	(3*32+ 2) /* Cyrix ARRs (= MTRRs) */
 #define X86_FEATURE_CENTAUR_MCR	(3*32+ 3) /* Centaur MCRs (= MTRRs) */
 
+#define cpu_has(c, bit)            test_bit(bit, (c)->x86_capability)
+
 #endif /* __ASM_I386_CPUFEATURE_H */
 
 /* 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)