2011-09-15 23:43:21 +02:00
|
|
|
Index: xen-4.1.2-testing/extras/mini-os/lib/math.c
|
2010-11-12 18:55:23 +01:00
|
|
|
===================================================================
|
2011-09-15 23:43:21 +02:00
|
|
|
--- xen-4.1.2-testing.orig/extras/mini-os/lib/math.c
|
|
|
|
+++ xen-4.1.2-testing/extras/mini-os/lib/math.c
|
2011-03-21 17:47:37 +01:00
|
|
|
@@ -187,6 +187,7 @@ __qdivrem(uint64_t uq, uint64_t vq, uint
|
2010-11-12 18:55:23 +01:00
|
|
|
* and thus
|
|
|
|
* m = 4 - n <= 2
|
|
|
|
*/
|
|
|
|
+ tmp.ul[H] = tmp.ul[L] = 0;
|
|
|
|
tmp.uq = uq;
|
|
|
|
u[0] = 0;
|
|
|
|
u[1] = HHALF(tmp.ul[H]);
|