mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 23:40:53 +07:00
[PATCH] IPMI: add poll delay
Make sure to delay a little in the IPMI poll routine so we can pass in a timeout time and thus time things out. Signed-off-by: Corey Minyard <minyard@acm.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
55162fb165
commit
15c62e10bb
@ -807,7 +807,12 @@ static void poll(void *send_info)
|
||||
{
|
||||
struct smi_info *smi_info = send_info;
|
||||
|
||||
smi_event_handler(smi_info, 0);
|
||||
/*
|
||||
* Make sure there is some delay in the poll loop so we can
|
||||
* drive time forward and timeout things.
|
||||
*/
|
||||
udelay(10);
|
||||
smi_event_handler(smi_info, 10);
|
||||
}
|
||||
|
||||
static void request_events(void *send_info)
|
||||
|
Loading…
Reference in New Issue
Block a user