parent 48b4959e950ca54937e70152e28f27b8d1157e8b (2.7)
commit 468e2c33db9c543d27648f033c989821e0f418d5
Author: Jan Engelhardt <jeng...@medozas.de>
Date:   Tue Feb 9 12:42:57 2010 +0100

tests/icache-hygiene: allow compilation on SPARC
---
 tests/icache-hygiene.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tests/icache-hygiene.c b/tests/icache-hygiene.c
index 6132de0..399d511 100644
--- a/tests/icache-hygiene.c
+++ b/tests/icache-hygiene.c
@@ -84,7 +84,8 @@ static void *sig_expected;
 
 static void sig_handler(int signum, siginfo_t *si, void *uc)
 {
-#if defined(__powerpc__) || defined(__powerpc64__) || defined(__ia64__) || 
defined(__s390__) || defined(__s390x__)
+#if defined(__powerpc__) || defined(__powerpc64__) || defined(__ia64__) || \
+    defined(__s390__) || defined(__s390x__) || defined(__sparc__)
        /* On powerpc and ia64 and s390, 0 bytes are an illegal
         * instruction, so, if the icache is cleared properly, we SIGILL
         * as soon as we jump into the cleared page */
-- 
# Created with git-export-patch


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to