From 30133afb1d92cd7e6cfa50560d8d3bef7b1818ac Mon Sep 17 00:00:00 2001 From: shiba Date: Sat, 31 Jan 2004 20:14:44 +0000 Subject: Compiled longrun.c when defined options CPU_ENABLE_LONGRUN, and fixed wrong comparation in cpu vendor. Longrun function was re-enabled. --- sys/i386/i386/longrun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/i386') diff --git a/sys/i386/i386/longrun.c b/sys/i386/i386/longrun.c index 9cc625b..eacc38e 100644 --- a/sys/i386/i386/longrun.c +++ b/sys/i386/i386/longrun.c @@ -261,7 +261,7 @@ tmx86_longrun_profile_sysctl(SYSCTL_HANDLER_ARGS) static void setup_tmx86_longrun(void *dummy __unused) { - if (strcmp(cpu_vendor, "GenuineTMx86") != 0 || + if (strcmp(cpu_vendor, "GenuineTMx86") != 0 && strcmp(cpu_vendor, "TransmetaCPU") != 0) return; -- cgit v1.1