[packages] zaptel-1.4.x: another attempt at fixing it :)
[openwrt/svn-archive/archive.git] / libs / zaptel-1.4.x / patches / 100-no_hrtimer_on_x86_only.patch
1 --- a/kernel/ztdummy.c
2 +++ b/kernel/ztdummy.c
3 @@ -54,7 +54,6 @@
4 * If using an i386 architecture without a PC real-time clock,
5 * the #define USE_RTC should be commented out.
6 */
7 -#if defined(__i386__) || defined(__x86_64__)
8 #if LINUX_VERSION_CODE >= VERSION_CODE(2,6,15)
9 /* The symbol hrtimer_forward is only exported as of 2.6.22: */
10 #if defined(CONFIG_HIGH_RES_TIMERS) && LINUX_VERSION_CODE >= VERSION_CODE(2,6,22)
11 @@ -67,7 +66,6 @@
12 #define USE_RTC
13 #endif
14 #endif
15 -#endif
16
17 #include <linux/kernel.h>
18 #include <linux/errno.h>