aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.32
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2009-11-17 10:06:15 +0000
committerImre Kaloz <kaloz@openwrt.org>2009-11-17 10:06:15 +0000
commit0b27fefa6299eb5ef2e663514226528e4ebbd322 (patch)
treed24f5520362d42aa7bb4e262a7f7977bf17b3aae /target/linux/generic-2.6/patches-2.6.32
parent294551ca73acd677fba4a4fdddd35d6567874dd4 (diff)
downloadupstream-0b27fefa6299eb5ef2e663514226528e4ebbd322.tar.gz
upstream-0b27fefa6299eb5ef2e663514226528e4ebbd322.tar.bz2
upstream-0b27fefa6299eb5ef2e663514226528e4ebbd322.zip
refresh 2.6.32 patches with -rc7
SVN-Revision: 18440
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.32')
-rw-r--r--target/linux/generic-2.6/patches-2.6.32/150-netfilter_imq.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.32/240-packet_socket_type.patch6
-rw-r--r--target/linux/generic-2.6/patches-2.6.32/410-gpio_buttons.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.32/840-unable_to_open_console.patch4
-rw-r--r--target/linux/generic-2.6/patches-2.6.32/922-gpiommc.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.32/977-textsearch_kconfig_hacks.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.32/980-vm_exports.patch10
-rw-r--r--target/linux/generic-2.6/patches-2.6.32/998-openwrt_lzma_options.patch4
-rw-r--r--target/linux/generic-2.6/patches-2.6.32/999-use_preinit_as_init.patch2
9 files changed, 18 insertions, 16 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.32/150-netfilter_imq.patch b/target/linux/generic-2.6/patches-2.6.32/150-netfilter_imq.patch
index 35090871a7..6467a2423e 100644
--- a/target/linux/generic-2.6/patches-2.6.32/150-netfilter_imq.patch
+++ b/target/linux/generic-2.6/patches-2.6.32/150-netfilter_imq.patch
@@ -811,7 +811,7 @@
extern void kfree_skb(struct sk_buff *skb);
extern void consume_skb(struct sk_buff *skb);
extern void __kfree_skb(struct sk_buff *skb);
-@@ -1970,6 +1988,10 @@ static inline void __nf_copy(struct sk_b
+@@ -1972,6 +1990,10 @@ static inline void __nf_copy(struct sk_b
dst->nfct_reasm = src->nfct_reasm;
nf_conntrack_get_reasm(src->nfct_reasm);
#endif
diff --git a/target/linux/generic-2.6/patches-2.6.32/240-packet_socket_type.patch b/target/linux/generic-2.6/patches-2.6.32/240-packet_socket_type.patch
index 42fcb9315f..71827643e6 100644
--- a/target/linux/generic-2.6/patches-2.6.32/240-packet_socket_type.patch
+++ b/target/linux/generic-2.6/patches-2.6.32/240-packet_socket_type.patch
@@ -91,7 +91,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
if (dev_net(dev) != sock_net(sk))
goto drop;
-@@ -1384,6 +1387,7 @@ static int packet_create(struct net *net
+@@ -1381,6 +1384,7 @@ static int packet_create(struct net *net
spin_lock_init(&po->bind_lock);
mutex_init(&po->pg_vec_lock);
po->prot_hook.func = packet_rcv;
@@ -99,7 +99,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
if (sock->type == SOCK_PACKET)
po->prot_hook.func = packet_rcv_spkt;
-@@ -1731,6 +1735,16 @@ packet_setsockopt(struct socket *sock, i
+@@ -1728,6 +1732,16 @@ packet_setsockopt(struct socket *sock, i
ret = packet_mc_drop(sk, &mreq);
return ret;
}
@@ -116,7 +116,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
#ifdef CONFIG_PACKET_MMAP
case PACKET_RX_RING:
-@@ -1876,6 +1890,13 @@ static int packet_getsockopt(struct sock
+@@ -1873,6 +1887,13 @@ static int packet_getsockopt(struct sock
data = &val;
break;
diff --git a/target/linux/generic-2.6/patches-2.6.32/410-gpio_buttons.patch b/target/linux/generic-2.6/patches-2.6.32/410-gpio_buttons.patch
index 95987ce48f..41f52afea4 100644
--- a/target/linux/generic-2.6/patches-2.6.32/410-gpio_buttons.patch
+++ b/target/linux/generic-2.6/patches-2.6.32/410-gpio_buttons.patch
@@ -1,6 +1,6 @@
--- a/drivers/input/misc/Kconfig
+++ b/drivers/input/misc/Kconfig
-@@ -316,4 +316,20 @@ config INPUT_PCAP
+@@ -317,4 +317,20 @@ config INPUT_PCAP
To compile this driver as a module, choose M here: the
module will be called pcap_keys.
diff --git a/target/linux/generic-2.6/patches-2.6.32/840-unable_to_open_console.patch b/target/linux/generic-2.6/patches-2.6.32/840-unable_to_open_console.patch
index 3925b77915..15b5461129 100644
--- a/target/linux/generic-2.6/patches-2.6.32/840-unable_to_open_console.patch
+++ b/target/linux/generic-2.6/patches-2.6.32/840-unable_to_open_console.patch
@@ -1,7 +1,7 @@
--- a/init/main.c
+++ b/init/main.c
-@@ -819,7 +819,7 @@ static noinline int init_post(void)
- printk(KERN_INFO"Running BFS CPU scheduler v0.302 by Con Kolivas.\n");
+@@ -817,7 +817,7 @@ static noinline int init_post(void)
+ numa_default_policy();
if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
- printk(KERN_WARNING "Warning: unable to open an initial console.\n");
diff --git a/target/linux/generic-2.6/patches-2.6.32/922-gpiommc.patch b/target/linux/generic-2.6/patches-2.6.32/922-gpiommc.patch
index 4fdf7bbc60..e2547eda8f 100644
--- a/target/linux/generic-2.6/patches-2.6.32/922-gpiommc.patch
+++ b/target/linux/generic-2.6/patches-2.6.32/922-gpiommc.patch
@@ -829,7 +829,7 @@
+be done automatically.
--- a/MAINTAINERS
+++ b/MAINTAINERS
-@@ -2354,6 +2354,11 @@ T: git git://git.kernel.org/pub/scm/linu
+@@ -2348,6 +2348,11 @@ T: git git://git.kernel.org/pub/scm/linu
S: Maintained
F: drivers/media/video/gspca/
diff --git a/target/linux/generic-2.6/patches-2.6.32/977-textsearch_kconfig_hacks.patch b/target/linux/generic-2.6/patches-2.6.32/977-textsearch_kconfig_hacks.patch
index 97fad7dfeb..94d6b91d8a 100644
--- a/target/linux/generic-2.6/patches-2.6.32/977-textsearch_kconfig_hacks.patch
+++ b/target/linux/generic-2.6/patches-2.6.32/977-textsearch_kconfig_hacks.patch
@@ -1,6 +1,6 @@
--- a/lib/Kconfig
+++ b/lib/Kconfig
-@@ -148,16 +148,16 @@ config REED_SOLOMON_DEC16
+@@ -152,16 +152,16 @@ config REED_SOLOMON_DEC16
# Textsearch support is select'ed if needed
#
config TEXTSEARCH
diff --git a/target/linux/generic-2.6/patches-2.6.32/980-vm_exports.patch b/target/linux/generic-2.6/patches-2.6.32/980-vm_exports.patch
index 4c3b561477..91f85c2b61 100644
--- a/target/linux/generic-2.6/patches-2.6.32/980-vm_exports.patch
+++ b/target/linux/generic-2.6/patches-2.6.32/980-vm_exports.patch
@@ -40,7 +40,7 @@
{
--- a/kernel/exit.c
+++ b/kernel/exit.c
-@@ -510,6 +510,7 @@ struct files_struct *get_files_struct(st
+@@ -507,6 +507,7 @@ struct files_struct *get_files_struct(st
return files;
}
@@ -48,7 +48,7 @@
void put_files_struct(struct files_struct *files)
{
-@@ -529,6 +530,7 @@ void put_files_struct(struct files_struc
+@@ -526,6 +527,7 @@ void put_files_struct(struct files_struc
free_fdtable(fdt);
}
}
@@ -68,7 +68,7 @@
* macro override instead of weak attribute alias, to workaround
--- a/kernel/sched.c
+++ b/kernel/sched.c
-@@ -6046,6 +6046,7 @@ int can_nice(const struct task_struct *p
+@@ -6075,6 +6075,7 @@ int can_nice(const struct task_struct *p
return (nice_rlim <= p->signal->rlim[RLIMIT_NICE].rlim_cur ||
capable(CAP_SYS_NICE));
}
@@ -78,7 +78,7 @@
--- a/mm/memory.c
+++ b/mm/memory.c
-@@ -1097,6 +1097,7 @@ unsigned long zap_page_range(struct vm_a
+@@ -1100,6 +1100,7 @@ unsigned long zap_page_range(struct vm_a
tlb_finish_mmu(tlb, address, end);
return end;
}
@@ -86,7 +86,7 @@
/**
* zap_vma_ptes - remove ptes mapping the vma
-@@ -2483,6 +2484,7 @@ int vmtruncate_range(struct inode *inode
+@@ -2486,6 +2487,7 @@ int vmtruncate_range(struct inode *inode
return 0;
}
diff --git a/target/linux/generic-2.6/patches-2.6.32/998-openwrt_lzma_options.patch b/target/linux/generic-2.6/patches-2.6.32/998-openwrt_lzma_options.patch
index f9108f271b..08bb83a433 100644
--- a/target/linux/generic-2.6/patches-2.6.32/998-openwrt_lzma_options.patch
+++ b/target/linux/generic-2.6/patches-2.6.32/998-openwrt_lzma_options.patch
@@ -1,12 +1,14 @@
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
-@@ -228,5 +228,5 @@ cmd_bzip2 = (cat $(filter-out FORCE,$^)
+@@ -228,7 +228,7 @@ cmd_bzip2 = (cat $(filter-out FORCE,$^)
quiet_cmd_lzma = LZMA $@
cmd_lzma = (cat $(filter-out FORCE,$^) | \
- lzma -9 && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
+ lzma e -lc1 -lp2 -pb2 -eos -si -so && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
(rm -f $@ ; false)
+
+ quiet_cmd_lzo = LZO $@
--- a/scripts/gen_initramfs_list.sh
+++ b/scripts/gen_initramfs_list.sh
@@ -225,7 +225,7 @@ cpio_list=
diff --git a/target/linux/generic-2.6/patches-2.6.32/999-use_preinit_as_init.patch b/target/linux/generic-2.6/patches-2.6.32/999-use_preinit_as_init.patch
index 8887afa780..7bea5256d7 100644
--- a/target/linux/generic-2.6/patches-2.6.32/999-use_preinit_as_init.patch
+++ b/target/linux/generic-2.6/patches-2.6.32/999-use_preinit_as_init.patch
@@ -1,6 +1,6 @@
--- a/init/main.c
+++ b/init/main.c
-@@ -843,10 +843,7 @@ static noinline int init_post(void)
+@@ -841,10 +841,7 @@ static noinline int init_post(void)
printk(KERN_WARNING "Failed to execute %s. Attempting "
"defaults...\n", execute_command);
}