aboutsummaryrefslogtreecommitdiffstats
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
commitfa530949b240198e044732b958af10c1094a9e19 (patch)
tree5ff106784e443c29909cbcffa0e9285ee9ad1b2d /target/linux/rdc/patches-2.6.32/012-export_erase_write.patch
parentb73d20640c307eb066fb0cfac45d5913c465e63f (diff)
downloadupstream-fa530949b240198e044732b958af10c1094a9e19.tar.gz
upstream-fa530949b240198e044732b958af10c1094a9e19.tar.bz2
upstream-fa530949b240198e044732b958af10c1094a9e19.zip
[rdc] panic on unrecovered NMI, thanks rtz2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21232 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 2d6feba241..5143a7c393 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);