aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/delay.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/delay.h')
-rw-r--r--arch/powerpc/include/asm/delay.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/delay.h b/arch/powerpc/include/asm/delay.h
index 1e2eb41fa05..52e4d54da2a 100644
--- a/arch/powerpc/include/asm/delay.h
+++ b/arch/powerpc/include/asm/delay.h
@@ -63,6 +63,8 @@ extern void udelay(unsigned long usecs);
udelay(delay); \
else \
cpu_relax(); \
+ if (!__ret) \
+ __ret = (condition); \
__ret; \
})