summaryrefslogtreecommitdiff
path: root/target/linux/rdc/patches-2.6.32/012-export_erase_write.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-04-28 13:55:11 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-04-28 13:55:11 +0000
commit14fd2f20f811c4cf72abc6988efef62568dfade2 (patch)
tree96308cbfcb73ea86949d5524649a7a336e56460c /target/linux/rdc/patches-2.6.32/012-export_erase_write.patch
parent73e450f44a9fe3e5ad1dcd7e6a95eb48f9082aa5 (diff)
downloadmtk-20170518-14fd2f20f811c4cf72abc6988efef62568dfade2.zip
mtk-20170518-14fd2f20f811c4cf72abc6988efef62568dfade2.tar.gz
mtk-20170518-14fd2f20f811c4cf72abc6988efef62568dfade2.tar.bz2
panic on unrecovered NMI, thanks rtz2
SVN-Revision: 21232
Diffstat (limited to 'target/linux/rdc/patches-2.6.32/012-export_erase_write.patch')
-rw-r--r--target/linux/rdc/patches-2.6.32/012-export_erase_write.patch16
1 files changed, 6 insertions, 10 deletions
diff --git a/target/linux/rdc/patches-2.6.32/012-export_erase_write.patch b/target/linux/rdc/patches-2.6.32/012-export_erase_write.patch
index 2d6feba..5143a7c 100644
--- a/target/linux/rdc/patches-2.6.32/012-export_erase_write.patch
+++ b/target/linux/rdc/patches-2.6.32/012-export_erase_write.patch
@@ -1,8 +1,6 @@
-Index: linux-2.6.30.10/drivers/mtd/mtdblock.c
-===================================================================
---- linux-2.6.30.10.orig/drivers/mtd/mtdblock.c 2010-03-19 00:17:37.000000000 +0100
-+++ linux-2.6.30.10/drivers/mtd/mtdblock.c 2010-03-19 00:17:54.000000000 +0100
-@@ -45,7 +45,7 @@
+--- a/drivers/mtd/mtdblock.c
++++ b/drivers/mtd/mtdblock.c
+@@ -47,7 +47,7 @@ static void erase_callback(struct erase_
wake_up(wait_q);
}
@@ -11,11 +9,9 @@ Index: linux-2.6.30.10/drivers/mtd/mtdblock.c
int len, const char *buf)
{
struct erase_info erase;
-Index: linux-2.6.30.10/include/linux/mtd/mtd.h
-===================================================================
---- linux-2.6.30.10.orig/include/linux/mtd/mtd.h 2010-03-19 00:17:42.000000000 +0100
-+++ linux-2.6.30.10/include/linux/mtd/mtd.h 2010-03-19 00:21:22.000000000 +0100
-@@ -319,6 +319,10 @@
+--- a/include/linux/mtd/mtd.h
++++ b/include/linux/mtd/mtd.h
+@@ -319,6 +319,10 @@ int default_mtd_writev(struct mtd_info *
int default_mtd_readv(struct mtd_info *mtd, struct kvec *vecs,
unsigned long count, loff_t from, size_t *retlen);