summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-09-10 13:37:31 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-09-10 13:37:31 +0000
commitc7d90d3dc43870a939cfb4a2271d7fe01464df58 (patch)
treec7e6f81ca3d64794becc25be57d8fbfd918829bc
parent7763c09a105e91478d380c6c1a5dff82ef8f5685 (diff)
downloadmtk-20170518-c7d90d3dc43870a939cfb4a2271d7fe01464df58.zip
mtk-20170518-c7d90d3dc43870a939cfb4a2271d7fe01464df58.tar.gz
mtk-20170518-c7d90d3dc43870a939cfb4a2271d7fe01464df58.tar.bz2
kernel: add md5sum for 2.6.31 final, and refresh 2.6.31 patches
SVN-Revision: 17558
-rw-r--r--include/kernel-version.mk3
-rw-r--r--target/linux/generic-2.6/patches-2.6.31/840-unable_to_open_console.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.31/922-gpiommc.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.31/999-use_preinit_as_init.patch2
4 files changed, 6 insertions, 3 deletions
diff --git a/include/kernel-version.mk b/include/kernel-version.mk
index 986bb71..48b1d00 100644
--- a/include/kernel-version.mk
+++ b/include/kernel-version.mk
@@ -25,6 +25,9 @@ endif
ifeq ($(LINUX_VERSION),2.6.30.6)
LINUX_KERNEL_MD5SUM:=3ae3add6838da3c5a53baa87c9e32924
endif
+ifeq ($(LINUX_VERSION),2.6.31)
+ LINUX_KERNEL_MD5SUM:=84c077a37684e4cbfa67b18154390d8a
+endif
# disable the md5sum check for unknown kernel versions
LINUX_KERNEL_MD5SUM?=x
diff --git a/target/linux/generic-2.6/patches-2.6.31/840-unable_to_open_console.patch b/target/linux/generic-2.6/patches-2.6.31/840-unable_to_open_console.patch
index 5c381f7..d9e443a 100644
--- a/target/linux/generic-2.6/patches-2.6.31/840-unable_to_open_console.patch
+++ b/target/linux/generic-2.6/patches-2.6.31/840-unable_to_open_console.patch
@@ -1,6 +1,6 @@
--- a/init/main.c
+++ b/init/main.c
-@@ -843,7 +843,7 @@ static noinline int init_post(void)
+@@ -844,7 +844,7 @@ static noinline int init_post(void)
numa_default_policy();
if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
diff --git a/target/linux/generic-2.6/patches-2.6.31/922-gpiommc.patch b/target/linux/generic-2.6/patches-2.6.31/922-gpiommc.patch
index d8d0840..9375823 100644
--- a/target/linux/generic-2.6/patches-2.6.31/922-gpiommc.patch
+++ b/target/linux/generic-2.6/patches-2.6.31/922-gpiommc.patch
@@ -829,7 +829,7 @@
+be done automatically.
--- a/MAINTAINERS
+++ b/MAINTAINERS
-@@ -2261,6 +2261,11 @@ T: git git://git.kernel.org/pub/scm/linu
+@@ -2260,6 +2260,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.31/999-use_preinit_as_init.patch b/target/linux/generic-2.6/patches-2.6.31/999-use_preinit_as_init.patch
index 25b1ab1..5d1f61f 100644
--- a/target/linux/generic-2.6/patches-2.6.31/999-use_preinit_as_init.patch
+++ b/target/linux/generic-2.6/patches-2.6.31/999-use_preinit_as_init.patch
@@ -1,6 +1,6 @@
--- a/init/main.c
+++ b/init/main.c
-@@ -867,10 +867,7 @@ static noinline int init_post(void)
+@@ -868,10 +868,7 @@ static noinline int init_post(void)
printk(KERN_WARNING "Failed to execute %s. Attempting "
"defaults...\n", execute_command);
}