From 4c3727d2bff26af7d5e775cf7d333ec6d54a903e Mon Sep 17 00:00:00 2001 From: nico Date: Mon, 27 Apr 2009 15:56:29 +0000 Subject: [PATCH] zaptel-1.4.x: another attempt at fixing it :) --- .../patches/100-no_hrtimer_on_x86_only.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 libs/zaptel-1.4.x/patches/100-no_hrtimer_on_x86_only.patch diff --git a/libs/zaptel-1.4.x/patches/100-no_hrtimer_on_x86_only.patch b/libs/zaptel-1.4.x/patches/100-no_hrtimer_on_x86_only.patch new file mode 100644 index 0000000..d7fb71c --- /dev/null +++ b/libs/zaptel-1.4.x/patches/100-no_hrtimer_on_x86_only.patch @@ -0,0 +1,18 @@ +--- a/kernel/ztdummy.c ++++ b/kernel/ztdummy.c +@@ -54,7 +54,6 @@ + * If using an i386 architecture without a PC real-time clock, + * the #define USE_RTC should be commented out. + */ +-#if defined(__i386__) || defined(__x86_64__) + #if LINUX_VERSION_CODE >= VERSION_CODE(2,6,15) + /* The symbol hrtimer_forward is only exported as of 2.6.22: */ + #if defined(CONFIG_HIGH_RES_TIMERS) && LINUX_VERSION_CODE >= VERSION_CODE(2,6,22) +@@ -67,7 +66,6 @@ + #define USE_RTC + #endif + #endif +-#endif + + #include + #include -- 2.30.2