Forwarding a patch we used on SEAndroid kernel to fix a compiler issue with
gcc 4.6

---------- Forwarded message ----------
From: William Roberts <bill.c.robe...@gmail.com>
Date: Thu, Jul 19, 2012 at 10:28 PM
Subject: [PATCH] Fix for build error no support ARM mode `smc #0'
To: bill.c.robe...@gmail.com
Cc: William Roberts <w.robe...@sta.samsung.com>


Fixes build bug
security/smc/bridge_pub2sec.S:95: Error: selected processor does not
support ARM mode `smc #0'
---
 security/smc/bridge_pub2sec.S |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/security/smc/bridge_pub2sec.S b/security/smc/bridge_pub2sec.S
index 15cd3b7..30b8b35 100644
--- a/security/smc/bridge_pub2sec.S
+++ b/security/smc/bridge_pub2sec.S
@@ -74,6 +74,7 @@ return_from_irq:
        b       label_smc

 label_smc:
+       .arch_extension sec
        INVALIDATE_BTB
        dsb
        dmb
--
1.7.0.4




-- 
Respectfully,

William C Roberts

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to