[Skiboot] [PATCH 2/3] hostservices: Don't run pollers from hostservices callbacks
Ananth N Mavinakayanahalli
ananth at in.ibm.com
Tue Feb 17 02:15:27 AEDT 2015
Use the _nopoll variant of nanosleep from hostservices, to avoid potential
poller recursion.
Signed-off-by: Ananth N Mavinakayanahalli <ananth at in.ibm.com>
---
core/hostservices.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/hostservices.c b/core/hostservices.c
index 9cc3341..952f6b8 100644
--- a/core/hostservices.c
+++ b/core/hostservices.c
@@ -467,7 +467,7 @@ static void hservice_nanosleep(uint64_t i_seconds, uint64_t i_nano_seconds)
ts.tv_sec = i_seconds;
ts.tv_nsec = i_nano_seconds;
- nanosleep(&ts, NULL);
+ nanosleep_nopoll(&ts, NULL);
}
static int hservice_set_special_wakeup(struct cpu_thread *cpu)
More information about the Skiboot
mailing list