File mozilla-s390-nojit.patch of Package MozillaFirefox.9789

# HG changeset patch
# Parent 83e56a45f3fec6e2bf71f83bfe911c5fe69b153f
# Parent  43f2af4852b708a826578674602fcfddda6dedcf
Use atomic operations from ppc on s390 to prevent crashes in MOZ_CRASH() when
JIT is disabled

diff --git a/js/src/jit/AtomicOperations.h b/js/src/jit/AtomicOperations.h
--- a/js/src/jit/AtomicOperations.h
+++ b/js/src/jit/AtomicOperations.h
@@ -374,16 +374,18 @@ AtomicOperations::isLockfreeJS(int32_t s
 #  error "No AtomicOperations support for this platform+compiler combination"
 # endif
 #elif defined(__ppc__) || defined(__PPC__)
 # include "jit/none/AtomicOperations-feeling-lucky.h"
 #elif defined(__sparc__)
 # include "jit/none/AtomicOperations-feeling-lucky.h"
 #elif defined(__ppc64__) || defined(__PPC64__) || defined(__ppc64le__) || defined(__PPC64LE__)
 # include "jit/none/AtomicOperations-feeling-lucky.h"
+#elif defined(__s390x__) || defined(__s390__)
+# include "jit/none/AtomicOperations-feeling-lucky.h"
 #elif defined(__alpha__)
 # include "jit/none/AtomicOperations-feeling-lucky.h"
 #elif defined(__hppa__)
 # include "jit/none/AtomicOperations-feeling-lucky.h"
 #elif defined(__sh__)
 # include "jit/none/AtomicOperations-feeling-lucky.h"
 #elif defined(__s390__) || defined(__s390x__)
 # include "jit/none/AtomicOperations-feeling-lucky.h"