links for 2009-10-31
-
Manually patched the kernel, the compiler's optimizer breaks the code.
+ /* The following asm() prevents the compiler from
+ * optimising this loop into a modulo operation. */
+ asm("" : "+r"(ns));
Advertisement
blaze your trail