patch-2.4.7 linux/include/linux/timex.h
Next file: linux/include/linux/tty.h
Previous file: linux/include/linux/swap.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Fri Jul 20 12:52:18 2001
- Orig file:
v2.4.6/linux/include/linux/timex.h
- Orig date:
Fri May 25 18:01:26 2001
diff -u --recursive --new-file v2.4.6/linux/include/linux/timex.h linux/include/linux/timex.h
@@ -60,7 +60,9 @@
* OSF/1 kernel. The SHIFT_HZ define expresses the same value as the
* nearest power of two in order to avoid hardware multiply operations.
*/
-#if HZ >= 24 && HZ < 48
+#if HZ >= 12 && HZ < 24
+# define SHIFT_HZ 4
+#elif HZ >= 24 && HZ < 48
# define SHIFT_HZ 5
#elif HZ >= 48 && HZ < 96
# define SHIFT_HZ 6
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)