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
- Lines: 9
- Date:
2003-06-13 07:51:38.000000000 -0700
- Orig file:
linux-2.4.20/include/asm-i386/cpufeature.h
- Orig date:
2001-12-21 09:42:03.000000000 -0800
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)