Mercurial > illumos > illumos-gate
diff usr/src/uts/intel/ia32/os/archdep.c @ 10797:8e4cf0dbd8ca
6883663 CPUs observed not downclocking when system is otherwise idle
author | Eric Saxe <Eric.Saxe@Sun.COM> |
---|---|
date | Wed, 14 Oct 2009 14:54:01 -0700 |
parents | 7d838c5c0eed |
children | 4c5722bc28dc |
line wrap: on
line diff
--- a/usr/src/uts/intel/ia32/os/archdep.c Wed Oct 14 11:48:20 2009 -0700 +++ b/usr/src/uts/intel/ia32/os/archdep.c Wed Oct 14 14:54:01 2009 -0700 @@ -19,16 +19,13 @@ * CDDL HEADER END */ /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ - -#pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/param.h> #include <sys/types.h> #include <sys/vmparam.h> @@ -1353,6 +1350,12 @@ scalehrtimef(hrt); } +uint64_t +unscalehrtime(hrtime_t nsecs) +{ + return (unscalehrtimef(nsecs)); +} + void gethrestime(timespec_t *tp) {