diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-04-28 13:55:11 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-04-28 13:55:11 +0000 |
commit | 14fd2f20f811c4cf72abc6988efef62568dfade2 (patch) | |
tree | 96308cbfcb73ea86949d5524649a7a336e56460c /target/linux/rdc/patches-2.6.32/110-rdc321x_watchdog_fix.patch | |
parent | 73e450f44a9fe3e5ad1dcd7e6a95eb48f9082aa5 (diff) | |
download | upstream-14fd2f20f811c4cf72abc6988efef62568dfade2.tar.gz upstream-14fd2f20f811c4cf72abc6988efef62568dfade2.tar.bz2 upstream-14fd2f20f811c4cf72abc6988efef62568dfade2.zip |
panic on unrecovered NMI, thanks rtz2
SVN-Revision: 21232
Diffstat (limited to 'target/linux/rdc/patches-2.6.32/110-rdc321x_watchdog_fix.patch')
-rw-r--r-- | target/linux/rdc/patches-2.6.32/110-rdc321x_watchdog_fix.patch | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/target/linux/rdc/patches-2.6.32/110-rdc321x_watchdog_fix.patch b/target/linux/rdc/patches-2.6.32/110-rdc321x_watchdog_fix.patch index ce4fd1fd90..7d59ab312c 100644 --- a/target/linux/rdc/patches-2.6.32/110-rdc321x_watchdog_fix.patch +++ b/target/linux/rdc/patches-2.6.32/110-rdc321x_watchdog_fix.patch @@ -1,7 +1,5 @@ -Index: linux-2.6.32.10/drivers/watchdog/rdc321x_wdt.c -=================================================================== ---- linux-2.6.32.10.orig/drivers/watchdog/rdc321x_wdt.c 2010-04-28 11:39:28.000000000 +0200 -+++ linux-2.6.32.10/drivers/watchdog/rdc321x_wdt.c 2010-04-28 11:40:11.000000000 +0200 +--- a/drivers/watchdog/rdc321x_wdt.c ++++ b/drivers/watchdog/rdc321x_wdt.c @@ -36,111 +36,99 @@ #include <linux/watchdog.h> #include <linux/io.h> @@ -164,7 +162,7 @@ Index: linux-2.6.32.10/drivers/watchdog/rdc321x_wdt.c return -EBUSY; return nonseekable_open(inode, file); -@@ -148,7 +136,16 @@ +@@ -148,7 +136,16 @@ static int rdc321x_wdt_open(struct inode static int rdc321x_wdt_release(struct inode *inode, struct file *file) { @@ -182,7 +180,7 @@ Index: linux-2.6.32.10/drivers/watchdog/rdc321x_wdt.c return 0; } -@@ -156,30 +153,29 @@ +@@ -156,30 +153,29 @@ static long rdc321x_wdt_ioctl(struct fil unsigned long arg) { void __user *argp = (void __user *)arg; @@ -227,7 +225,7 @@ Index: linux-2.6.32.10/drivers/watchdog/rdc321x_wdt.c case WDIOC_SETOPTIONS: if (copy_from_user(&value, argp, sizeof(int))) return -EFAULT; -@@ -194,17 +190,34 @@ +@@ -194,17 +190,34 @@ static long rdc321x_wdt_ioctl(struct fil } break; default: @@ -263,7 +261,7 @@ Index: linux-2.6.32.10/drivers/watchdog/rdc321x_wdt.c rdc321x_wdt_reset(); return count; -@@ -246,27 +259,18 @@ +@@ -246,27 +259,18 @@ static int __devinit rdc321x_wdt_probe(s rdc321x_wdt_device.sb_pdev = pdata->sb_pdev; rdc321x_wdt_device.base_reg = r->start; @@ -297,7 +295,7 @@ Index: linux-2.6.32.10/drivers/watchdog/rdc321x_wdt.c dev_info(&pdev->dev, "watchdog init success\n"); return 0; -@@ -274,10 +278,11 @@ +@@ -274,10 +278,11 @@ static int __devinit rdc321x_wdt_probe(s static int __devexit rdc321x_wdt_remove(struct platform_device *pdev) { |