aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/idle/mrst_s0i3.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-12-07 00:04:20 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2010-12-14 10:48:41 -0800
commit20211a44505789bd027a85b08253866c8c3fdbbb (patch)
tree9a29ef682693438c91fc96481e77e1ae93710563 /drivers/idle/mrst_s0i3.h
parentcc76afb3c3a2bf99f7e5f5744d1111a6db7f333d (diff)
downloadmrst-s0i3-test-20211a44505789bd027a85b08253866c8c3fdbbb.tar.gz
mrst-s0i3-test-20211a44505789bd027a85b08253866c8c3fdbbb.tar.xz
mrst-s0i3-test-20211a44505789bd027a85b08253866c8c3fdbbb.zip
s0i3: delay the PM_CMD write until immediately before MWAIT
PM_CMD has a timeout, make sure it doesn't get triggered by WBINVD.
Diffstat (limited to 'drivers/idle/mrst_s0i3.h')
-rw-r--r--drivers/idle/mrst_s0i3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/idle/mrst_s0i3.h b/drivers/idle/mrst_s0i3.h
index ee6b1b2ba74..574626ffb15 100644
--- a/drivers/idle/mrst_s0i3.h
+++ b/drivers/idle/mrst_s0i3.h
@@ -30,7 +30,7 @@
int intel_idle(struct cpuidle_device *dev, struct cpuidle_state *state);
int mrst_s0i3_idle(struct cpuidle_device *dev, struct cpuidle_state *state);
-int mrst_s0i3_entry(void);
+int mrst_s0i3_entry(u32 regval, volatile u32 *regaddr);
void mrst_s0i3_resume(void);
#endif /* __ASSEMBLY__ */