aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2008-04-21 18:56:14 -0400
committerJesper Juhl <juhl@hera.kernel.org>2008-04-21 18:56:14 -0400
commit37679011c5a674eb80bff5c2b9b067bf16011d46 (patch)
tree288ecc2656a46f003f7860595f91f6f24a87e581 /include/linux
parentbc3c26fe65ecaa3fa96844219a9070a3e079697a (diff)
Generate a slightly more informative error msg for bad HZ
Generate a slightly more informative error msg for bad HZ in include/linux/jiffies.h Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/jiffies.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/jiffies.h b/include/linux/jiffies.h
index e0b5b684d83f..8f4aa7280ca9 100644
--- a/include/linux/jiffies.h
+++ b/include/linux/jiffies.h
@@ -36,7 +36,7 @@
36#elif HZ >= 6144 && HZ < 12288 36#elif HZ >= 6144 && HZ < 12288
37# define SHIFT_HZ 13 37# define SHIFT_HZ 13
38#else 38#else
39# error You lose. 39# error Invalid value of HZ.
40#endif 40#endif
41 41
42/* LATCH is used in the interval timer and ftape setup. */ 42/* LATCH is used in the interval timer and ftape setup. */