diff mbox

PulseAudio: added IT block to fix thumb conditional instruction build error messages

Message ID AANLkTi=QigWGaD-UyqsOUZBMMO9nnkuB4id180hKHKbv@mail.gmail.com
State New
Headers show

Commit Message

Kurt Taylor Feb. 18, 2011, 5:36 p.m. UTC
From: Kurt Taylor <kurt.taylor@linaro.org>
Date: Fri, 18 Feb 2011 14:30:03 +0000
Subject: [PATCH] PulseAudio: added IT block to fix thumb conditional
instruction build error messages

---
 src/pulsecore/svolume_arm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/src/pulsecore/svolume_arm.c b/src/pulsecore/svolume_arm.c
index 3973e51..a141ba1 100644
--- a/src/pulsecore/svolume_arm.c
+++ b/src/pulsecore/svolume_arm.c
@@ -39,7 +39,9 @@ 

 #define MOD_INC() \
     " subs  r0, r6, %2              \n\t" \
+    " it cs                         \n\t" \
     " addcs r0, %1                  \n\t" \
+    " it cs                         \n\t" \
     " movcs r6, r0                  \n\t"

 static void