aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/lib/math.c
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-19 15:09:39 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-19 15:09:39 +0000
commit4e8586dfa35bf5114c0f620bdfcd2e0466e952a8 (patch)
treeadb15d5096bd1b899433760ce705a01dd38d8315 /extras/mini-os/lib/math.c
parent2b68aee8293cf43f29dc5cf7ac1f23ff612c4a61 (diff)
downloadxen-4e8586dfa35bf5114c0f620bdfcd2e0466e952a8.tar.gz
xen-4e8586dfa35bf5114c0f620bdfcd2e0466e952a8.tar.bz2
xen-4e8586dfa35bf5114c0f620bdfcd2e0466e952a8.zip
[MINIOS] More cleanups for the ia64 port.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
Diffstat (limited to 'extras/mini-os/lib/math.c')
-rw-r--r--extras/mini-os/lib/math.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/extras/mini-os/lib/math.c b/extras/mini-os/lib/math.c
index 8e97be6d18..5f5ed55ec2 100644
--- a/extras/mini-os/lib/math.c
+++ b/extras/mini-os/lib/math.c
@@ -57,6 +57,10 @@
#include <types.h>
+ /* On ia64 these functions lead to crashes. These are replaced by
+ * assembler functions. */
+#if !defined(__ia64__)
+
/*
* Depending on the desired operation, we view a `long long' (aka quad_t) in
* one or more of the following formats.
@@ -380,3 +384,4 @@ __umoddi3(u_quad_t a, u_quad_t b)
return (r);
}
+#endif /* !defined(__ia64__) */