aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/ipmi/ipmi_msghandler.c
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2010-05-26 17:43:50 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-27 12:12:50 -0400
commitddac44b7b21b72c0d9d6882ac8d7027afc25138c (patch)
treebfdd1c8fdd569563918f0b57f922a53934d2d7ee /drivers/char/ipmi/ipmi_msghandler.c
parent06ee459402434aabed0c6d03c4cc10bfe4a3a65b (diff)
ipmi: change timeout and event poll to one second
The timeouts in IPMI are in the 1-5 second range in message handling, so a 1 second timeout is a reasonable thing to do. This should help with reducing power consumption on idle systems. Signed-off-by: Corey Minyard <cminyard@mvista.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/ipmi/ipmi_msghandler.c')
-rw-r--r--drivers/char/ipmi/ipmi_msghandler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c
index c6ad4234378d..5de4bb99cb97 100644
--- a/drivers/char/ipmi/ipmi_msghandler.c
+++ b/drivers/char/ipmi/ipmi_msghandler.c
@@ -4037,8 +4037,8 @@ static void ipmi_request_event(void)
4037 4037
4038static struct timer_list ipmi_timer; 4038static struct timer_list ipmi_timer;
4039 4039
4040/* Call every ~100 ms. */ 4040/* Call every ~1000 ms. */
4041#define IPMI_TIMEOUT_TIME 100 4041#define IPMI_TIMEOUT_TIME 1000
4042 4042
4043/* How many jiffies does it take to get to the timeout time. */ 4043/* How many jiffies does it take to get to the timeout time. */
4044#define IPMI_TIMEOUT_JIFFIES ((IPMI_TIMEOUT_TIME * HZ) / 1000) 4044#define IPMI_TIMEOUT_JIFFIES ((IPMI_TIMEOUT_TIME * HZ) / 1000)