patch-2.1.109 linux/net/sched/sch_api.c
Next file: linux/CREDITS
Previous file: linux/net/protocols.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Jul 10 14:01:13 1998
- Orig file:
v2.1.108/linux/net/sched/sch_api.c
- Orig date:
Fri May 8 23:14:58 1998
diff -u --recursive --new-file v2.1.108/linux/net/sched/sch_api.c linux/net/sched/sch_api.c
@@ -9,6 +9,7 @@
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
*/
+#include <asm/processor.h>
#include <asm/uaccess.h>
#include <asm/system.h>
#include <asm/bitops.h>
@@ -881,7 +882,7 @@
unsigned long stop;
#if CPU == 586 || CPU == 686
- if (!(boot_cpu_data.x86_capability & 16))
+ if (!(boot_cpu_data.x86_capability & X86_FEATURE_TSC)
return -1;
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov