mozilla-arm-disable-edsp.patch
branchfirefox12
changeset 450 586eaa2c4dce
child 680 be770d3cbc02
equal deleted inserted replaced
449:feee012b5199 450:586eaa2c4dce
       
     1 # HG changeset patch
       
     2 # User Adrian Schröter <adrian@suse.de>
       
     3 # Parent 5b26dbfe65bd4986ea3792f02bc025fec293b51f
       
     4 disable ESDP support (no BNC or BMO reference yet :-()
       
     5 
       
     6 diff --git a/xpcom/glue/arm.h b/xpcom/glue/arm.h
       
     7 --- a/xpcom/glue/arm.h
       
     8 +++ b/xpcom/glue/arm.h
       
     9 @@ -143,17 +143,17 @@ namespace mozilla {
       
    10      extern bool NS_COM_GLUE neon_enabled;
       
    11  #endif
       
    12  #endif
       
    13    }
       
    14  
       
    15  #if defined(MOZILLA_PRESUME_EDSP)
       
    16  #  define MOZILLA_MAY_SUPPORT_EDSP 1
       
    17    inline bool supports_edsp() { return true; }
       
    18 -#elif defined(MOZILLA_MAY_SUPPORT_EDSP) \
       
    19 +#elif 0 \
       
    20     && defined(MOZILLA_ARM_HAVE_CPUID_DETECTION)
       
    21    inline bool supports_edsp() { return arm_private::edsp_enabled; }
       
    22  #else
       
    23    inline bool supports_edsp() { return false; }
       
    24  #endif
       
    25  
       
    26  #if defined(MOZILLA_PRESUME_ARMV6)
       
    27  #  define MOZILLA_MAY_SUPPORT_ARMV6 1