Compiled longrun.c when defined options CPU_ENABLE_LONGRUN,
and fixed wrong comparation in cpu vendor. Longrun function was re-enabled.
This commit is contained in:
parent
41ddc53bca
commit
386a89ed83
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125276
@ -213,6 +213,7 @@ i386/i386/k6_mem.c standard
|
||||
i386/i386/legacy.c standard
|
||||
i386/i386/local_apic.c optional apic
|
||||
i386/i386/locore.s standard no-obj
|
||||
i386/i386/longrun.c optional cpu_enable_longrun
|
||||
i386/i386/machdep.c standard
|
||||
i386/i386/mem.c standard
|
||||
i386/i386/mp_clock.c optional smp
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user