lua: Fixed some cross-platform issues for PPC (and probably other architectures)
[openwrt.git] / target / linux / generic-2.6 / patches / 013-mips_generic_gpio_support.patch
1 Index: linux-2.6.21.7/arch/mips/defconfig
2 ===================================================================
3 --- linux-2.6.21.7.orig/arch/mips/defconfig
4 +++ linux-2.6.21.7/arch/mips/defconfig
5 @@ -69,6 +69,7 @@ CONFIG_GENERIC_FIND_NEXT_BIT=y
6 CONFIG_GENERIC_HWEIGHT=y
7 CONFIG_GENERIC_CALIBRATE_DELAY=y
8 CONFIG_GENERIC_TIME=y
9 +CONFIG_GENERIC_GPIO=n
10 CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
11 # CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ is not set
12 CONFIG_ARC=y
13 Index: linux-2.6.21.7/arch/mips/Kconfig
14 ===================================================================
15 --- linux-2.6.21.7.orig/arch/mips/Kconfig
16 +++ linux-2.6.21.7/arch/mips/Kconfig
17 @@ -869,6 +869,10 @@ config GENERIC_TIME
18 bool
19 default y
20
21 +config GENERIC_GPIO
22 + bool
23 + default n
24 +
25 config SCHED_NO_NO_OMIT_FRAME_POINTER
26 bool
27 default y
28 Index: linux-2.6.21.7/include/asm-mips/gpio.h
29 ===================================================================
30 --- /dev/null
31 +++ linux-2.6.21.7/include/asm-mips/gpio.h
32 @@ -0,0 +1,6 @@
33 +#ifndef _ASM_MIPS_GPIO_H
34 +#define _ASM_MIPS_GPIO_H
35 +
36 +#include <gpio.h>
37 +
38 +#endif /* _ASM_MIPS_GPIO_H */
This page took 0.043461 seconds and 5 git commands to generate.