[PATCH] powerpc: Replaced msleep with usleep_range

2018-07-09 Thread Daniel Klamt
Replaced msleep for less than 10ms with usleep_range because will often sleep longer than intended. For original explanation see: Documentation/timers/timers-howto.txt Signed-off-by: Daniel Klamt Signed-off-by: Bjoern Noetel --- arch/powerpc/sysdev/xive/native.c | 24

[PATCH] powerpc: Replaced msleep(x) with msleep(OPAL_BUSY_DELAY_MS)

2018-07-11 Thread Daniel Klamt
Replaced msleep(x) with with msleep(OPAL_BUSY_DELAY_MS) to diocument these sleep is to wait for opal. Signed-off-by: Daniel Klamt Signed-off-by: Bjoern Noetel --- arch/powerpc/sysdev/xive/native.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a