mozilla-arm-disable-edsp.patch
author Adrian Schr?ter <adrian@suse.de>
Fri, 25 May 2012 09:12:54 +0200
changeset 457 0c2249d015b6
child 680 be770d3cbc02
permissions -rw-r--r--
fixed ARM build
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
457
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
     1
# HG changeset patch
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
     2
# User Adrian Schröter <adrian@suse.de>
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
     3
# Parent 5b26dbfe65bd4986ea3792f02bc025fec293b51f
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
     4
disable ESDP support (no BNC or BMO reference yet :-()
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
     5
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
     6
diff --git a/xpcom/glue/arm.h b/xpcom/glue/arm.h
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
     7
--- a/xpcom/glue/arm.h
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
     8
+++ b/xpcom/glue/arm.h
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
     9
@@ -143,17 +143,17 @@ namespace mozilla {
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
    10
     extern bool NS_COM_GLUE neon_enabled;
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
    11
 #endif
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
    12
 #endif
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
    13
   }
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
    14
 
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
    15
 #if defined(MOZILLA_PRESUME_EDSP)
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
    16
 #  define MOZILLA_MAY_SUPPORT_EDSP 1
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
    17
   inline bool supports_edsp() { return true; }
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
    18
-#elif defined(MOZILLA_MAY_SUPPORT_EDSP) \
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
    19
+#elif 0 \
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
    20
    && defined(MOZILLA_ARM_HAVE_CPUID_DETECTION)
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
    21
   inline bool supports_edsp() { return arm_private::edsp_enabled; }
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
    22
 #else
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
    23
   inline bool supports_edsp() { return false; }
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
    24
 #endif
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
    25
 
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
    26
 #if defined(MOZILLA_PRESUME_ARMV6)
0c2249d015b6 fixed ARM build
Adrian Schr?ter <adrian@suse.de>
parents:
diff changeset
    27
 #  define MOZILLA_MAY_SUPPORT_ARMV6 1