summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bluez/bluez4-4.82/sbc-thumb.patch
blob: 881cb9cd856b18f0ad517889f746d3457950ddd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Acquired from OpenEmbedded
Upstream-Status: Inappropriate [embedded specific]

--- bluez/sbc/sbc_math.h~	2008-03-05 20:18:03.000000000 +0000
+++ bluez/sbc/sbc_math.h	2008-10-27 13:39:27.000000000 +0000
@@ -59,7 +59,7 @@
 
 #define SBC_FIXED_0(val) { val = 0; }
 #define MUL(a, b)        ((a) * (b))
-#ifdef __arm__
+#if defined(__arm__) && !defined(__thumb__)
 #define MULA(a, b, res) ({				\
 		int tmp = res;			\
 		__asm__(				\