mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-12 19:24:04 +02:00
fd8ccf9c65
* backport 2.6.8 patches to .39 / .32.33 * remove lqtapi * bump tapi/dsl to .39 * migrate to new ltq_ style api * add amazon_se support git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27026 3c298f89-4303-0410-b956-a3cf2f4a3e73
24 lines
653 B
Diff
24 lines
653 B
Diff
--- a/src/include/linux/ifxos_linux_common.h
|
|
+++ b/src/include/linux/ifxos_linux_common.h
|
|
@@ -73,7 +73,7 @@
|
|
# define __BYTE_ORDER __BIG_ENDIAN
|
|
/** set the common IFXOS byte order for BIG endian */
|
|
# define IFXOS_BYTE_ORDER IFXOS_BIG_ENDIAN
|
|
-#elif
|
|
+#else
|
|
# error "missing endian definiton"
|
|
#endif
|
|
|
|
--- a/src/linux/ifxos_linux_thread_drv.c
|
|
+++ b/src/linux/ifxos_linux_thread_drv.c
|
|
@@ -34,7 +34,9 @@
|
|
#include <linux/sched.h>
|
|
#include <linux/version.h>
|
|
#include <linux/completion.h>
|
|
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33))
|
|
#include <linux/smp_lock.h>
|
|
+#endif
|
|
#include <linux/signal.h>
|
|
|
|
|