Skip to content

Commit

Permalink
Generate a slightly more informative error msg for bad HZ
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Robert P. J. Day authored and Jesper Juhl committed Apr 21, 2008
1 parent bc3c26f commit 3767901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/jiffies.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#elif HZ >= 6144 && HZ < 12288
# define SHIFT_HZ 13
#else
# error You lose.
# error Invalid value of HZ.
#endif

/* LATCH is used in the interval timer and ftape setup. */
Expand Down

0 comments on commit 3767901

Please sign in to comment.