Remove duplicate definitions of MWAIT_CX hints. Identical defines in
specialreg.h are enough. Discussed with: mav Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
6f9b387301
commit
19b5b56d7f
@ -730,15 +730,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)
|
||||
{
|
||||
|
@ -1361,15 +1361,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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user