From 57405885e5357417d918c29d25c3e81925d267ee Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 29 Oct 2010 19:31:47 +0000 Subject: [PATCH] refresh generic 2.6.30 patches SVN-Revision: 23714 --- .../014-cfi_fix_amd_extended_table_check.patch | 6 +++--- .../generic-2.6/patches-2.6.30/930-kmsg_dump_backport.patch | 6 +++--- target/linux/generic-2.6/patches-2.6.30/931-crashlog.patch | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/target/linux/generic-2.6/patches-2.6.30/014-cfi_fix_amd_extended_table_check.patch b/target/linux/generic-2.6/patches-2.6.30/014-cfi_fix_amd_extended_table_check.patch index 1216a3bd3e..3c7d303b7a 100644 --- a/target/linux/generic-2.6/patches-2.6.30/014-cfi_fix_amd_extended_table_check.patch +++ b/target/linux/generic-2.6/patches-2.6.30/014-cfi_fix_amd_extended_table_check.patch @@ -1,6 +1,6 @@ --- a/drivers/mtd/chips/cfi_cmdset_0002.c +++ b/drivers/mtd/chips/cfi_cmdset_0002.c -@@ -336,6 +336,8 @@ static struct cfi_fixup fixup_table[] = +@@ -336,6 +336,8 @@ static struct cfi_fixup fixup_table[] = static void cfi_fixup_major_minor(struct cfi_private *cfi, struct cfi_pri_amdstd *extp) { @@ -9,7 +9,7 @@ if (cfi->mfr == CFI_MFR_SAMSUNG && cfi->id == 0x257e && extp->MajorVersion == '0') extp->MajorVersion = '1'; -@@ -366,6 +368,9 @@ struct mtd_info *cfi_cmdset_0002(struct +@@ -366,6 +368,9 @@ struct mtd_info *cfi_cmdset_0002(struct mtd->name = map->name; mtd->writesize = 1; @@ -19,7 +19,7 @@ if (cfi->cfi_mode==CFI_MODE_CFI){ unsigned char bootloc; /* -@@ -384,16 +389,24 @@ struct mtd_info *cfi_cmdset_0002(struct +@@ -384,16 +389,24 @@ struct mtd_info *cfi_cmdset_0002(struct cfi_fixup_major_minor(cfi, extp); diff --git a/target/linux/generic-2.6/patches-2.6.30/930-kmsg_dump_backport.patch b/target/linux/generic-2.6/patches-2.6.30/930-kmsg_dump_backport.patch index 762b441114..cdcf094d0c 100644 --- a/target/linux/generic-2.6/patches-2.6.30/930-kmsg_dump_backport.patch +++ b/target/linux/generic-2.6/patches-2.6.30/930-kmsg_dump_backport.patch @@ -55,7 +55,7 @@ #include #include #include -@@ -74,6 +75,7 @@ +@@ -74,6 +75,7 @@ NORET_TYPE void panic(const char * fmt, dump_stack(); #endif @@ -63,7 +63,7 @@ /* * If we have crashed and we have a crash kernel loaded let it handle * everything else. -@@ -337,6 +339,7 @@ +@@ -337,6 +339,7 @@ void oops_exit(void) { do_oops_enter_exit(); print_oops_end_marker(); @@ -81,7 +81,7 @@ #include -@@ -1322,3 +1323,121 @@ +@@ -1322,3 +1323,121 @@ bool printk_timed_ratelimit(unsigned lon } EXPORT_SYMBOL(printk_timed_ratelimit); #endif diff --git a/target/linux/generic-2.6/patches-2.6.30/931-crashlog.patch b/target/linux/generic-2.6/patches-2.6.30/931-crashlog.patch index d4424190c6..4c7ba2390a 100644 --- a/target/linux/generic-2.6/patches-2.6.30/931-crashlog.patch +++ b/target/linux/generic-2.6/patches-2.6.30/931-crashlog.patch @@ -1,6 +1,6 @@ --- a/init/Kconfig +++ b/init/Kconfig -@@ -723,6 +723,9 @@ +@@ -723,6 +723,9 @@ config NET_NS Allow user space to create what appear to be multiple instances of the network stack. @@ -12,7 +12,7 @@ depends on BROKEN || !FRV --- a/kernel/Makefile +++ b/kernel/Makefile -@@ -95,6 +95,7 @@ +@@ -95,6 +95,7 @@ obj-$(CONFIG_FUNCTION_TRACER) += trace/ obj-$(CONFIG_TRACING) += trace/ obj-$(CONFIG_SMP) += sched_cpupri.o obj-$(CONFIG_SLOW_WORK) += slow-work.o @@ -30,7 +30,7 @@ #include #include -@@ -151,6 +152,7 @@ +@@ -151,6 +152,7 @@ static unsigned long __init free_all_boo if (!bdata->node_bootmem_map) return 0; -- 2.30.2