summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xztdummy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ztdummy.c b/ztdummy.c
index 77d2c37..e24ae93 100755
--- a/ztdummy.c
+++ b/ztdummy.c
@@ -99,6 +99,9 @@ static int debug = 0;
#ifndef USE_RTC
/* New 2.6 kernel timer stuff */
static struct timer_list timer;
+#if HZ != 1000
+#error ztdummy requires 1000 hz jiffies
+#endif
#endif
#else
#if LINUX_VERSION_CODE < VERSION_CODE(2,4,5)