mozilla-arm-disable-edsp.patch
author Adrian Schröter <adrian@suse.de>
Fri, 25 May 2012 09:12:54 +0200
branchfirefox12
changeset 450 586eaa2c4dce
child 680 be770d3cbc02
permissions -rw-r--r--
fixed ARM build

# HG changeset patch
# User Adrian Schröter <adrian@suse.de>
# Parent 5b26dbfe65bd4986ea3792f02bc025fec293b51f
disable ESDP support (no BNC or BMO reference yet :-()

diff --git a/xpcom/glue/arm.h b/xpcom/glue/arm.h
--- a/xpcom/glue/arm.h
+++ b/xpcom/glue/arm.h
@@ -143,17 +143,17 @@ namespace mozilla {
     extern bool NS_COM_GLUE neon_enabled;
 #endif
 #endif
   }
 
 #if defined(MOZILLA_PRESUME_EDSP)
 #  define MOZILLA_MAY_SUPPORT_EDSP 1
   inline bool supports_edsp() { return true; }
-#elif defined(MOZILLA_MAY_SUPPORT_EDSP) \
+#elif 0 \
    && defined(MOZILLA_ARM_HAVE_CPUID_DETECTION)
   inline bool supports_edsp() { return arm_private::edsp_enabled; }
 #else
   inline bool supports_edsp() { return false; }
 #endif
 
 #if defined(MOZILLA_PRESUME_ARMV6)
 #  define MOZILLA_MAY_SUPPORT_ARMV6 1