patch-2.4.19 linux-2.4.19/arch/mips/dec/time.c
Next file: linux-2.4.19/arch/mips/defconfig
Previous file: linux-2.4.19/arch/mips/dec/setup.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Fri Aug 2 17:39:43 2002
- Orig file:
linux-2.4.18/arch/mips/dec/time.c
- Orig date:
Sun Sep 9 10:43:01 2001
diff -urN linux-2.4.18/arch/mips/dec/time.c linux-2.4.19/arch/mips/dec/time.c
@@ -8,6 +8,7 @@
* found in some MIPS systems.
*
*/
+#include <linux/types.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/sched.h>
@@ -44,7 +45,7 @@
/* This is for machines which generate the exact clock. */
#define USECS_PER_JIFFY (1000000/HZ)
-#define USECS_PER_JIFFY_FRAC ((1000000ULL << 32) / HZ & 0xffffffff)
+#define USECS_PER_JIFFY_FRAC ((u32)((1000000ULL << 32) / HZ))
/* Cycle counter value at the previous timer interrupt.. */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)