diff options
author | kib <kib@FreeBSD.org> | 2015-04-27 08:06:33 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-04-27 08:06:33 +0000 |
commit | e86f81bbc7c464fbde610f5df9b2c85e1e1b5ca8 (patch) | |
tree | c349ca8e964864d9d36215bc611317ed301c7eb8 | |
parent | facaa68fb95e65d46783aee588e7c99ae11d5e76 (diff) | |
download | FreeBSD-src-e86f81bbc7c464fbde610f5df9b2c85e1e1b5ca8.zip FreeBSD-src-e86f81bbc7c464fbde610f5df9b2c85e1e1b5ca8.tar.gz |
MFC r281762:
Remove duplicate definitions of MWAIT_CX hints. Identical defines in
specialreg.h are enough.
-rw-r--r-- | sys/amd64/amd64/machdep.c | 9 | ||||
-rw-r--r-- | sys/i386/i386/machdep.c | 9 |
2 files changed, 0 insertions, 18 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 70e12bf..0c6f4df 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -717,15 +717,6 @@ cpu_idle_hlt(sbintime_t sbt) *state = STATE_RUNNING; } -/* - * MWAIT cpu power states. Lower 4 bits are sub-states. - */ -#define MWAIT_C0 0xf0 -#define MWAIT_C1 0x00 -#define MWAIT_C2 0x10 -#define MWAIT_C3 0x20 -#define MWAIT_C4 0x30 - static void cpu_idle_mwait(sbintime_t sbt) { diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index 7e2a820..4d7df05 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -1359,15 +1359,6 @@ cpu_idle_hlt(sbintime_t sbt) } #endif -/* - * MWAIT cpu power states. Lower 4 bits are sub-states. - */ -#define MWAIT_C0 0xf0 -#define MWAIT_C1 0x00 -#define MWAIT_C2 0x10 -#define MWAIT_C3 0x20 -#define MWAIT_C4 0x30 - static void cpu_idle_mwait(sbintime_t sbt) { |