summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/lib/delay.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mn10300/lib/delay.c')
-rw-r--r--arch/mn10300/lib/delay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mn10300/lib/delay.c b/arch/mn10300/lib/delay.c
index cce66bc..fdf6f71 100644
--- a/arch/mn10300/lib/delay.c
+++ b/arch/mn10300/lib/delay.c
@@ -28,7 +28,8 @@ void __delay(unsigned long loops)
"2: add -1,%0 \n"
" bne 2b \n"
: "=&d" (d0)
- : "0" (loops));
+ : "0" (loops)
+ : "cc");
}
EXPORT_SYMBOL(__delay);
OpenPOWER on IntegriCloud