[packages] zaptel-1.4.x: another attempt at fixing it :)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@15452 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2009-04-27 15:56:29 +00:00
parent c0011a9789
commit 6bc766bf59

View File

@ -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 <linux/kernel.h>
#include <linux/errno.h>