diff options
author | Ananth N Mavinakayanahalli <ananth@in.ibm.com> | 2015-02-16 20:45:27 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-02-17 14:54:53 +1100 |
commit | 793122807444782bdf46608e4506d362a8078ed3 (patch) | |
tree | fd629215cbe791818a6af139298f52df0640f56b /core/hostservices.c | |
parent | da4307f12b95713328db483726217bd45cb0ea51 (diff) | |
download | blackbird-skiboot-793122807444782bdf46608e4506d362a8078ed3.tar.gz blackbird-skiboot-793122807444782bdf46608e4506d362a8078ed3.zip |
hostservices: Don't run pollers from hostservices callbacks
Use the _nopoll variant of nanosleep from hostservices, to avoid potential
poller recursion.
Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/hostservices.c')
-rw-r--r-- | core/hostservices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/hostservices.c b/core/hostservices.c index 9cc3341d..952f6b8c 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) |