packages/libs/zaptel-1.4.x/patches/100-no_hrtimer_on_x86_only.patch
mb 9ed84c6a9a zaptel-1.4: Compilefixes for 2.6.36
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-07 17:07:46 +00:00

23 lines
636 B
Diff

---
kernel/ztdummy.c | 2 --
1 file changed, 2 deletions(-)
--- zaptel-1.4.12.1.orig/kernel/ztdummy.c
+++ zaptel-1.4.12.1/kernel/ztdummy.c
@@ -53,7 +53,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)
@@ -66,7 +65,6 @@
#define USE_RTC
#endif
#endif
-#endif
#include <linux/kernel.h>
#include <linux/errno.h>