5ebe21555b27b796cf13131c50a162a2f9471b33
[openwrt.git] / target / linux / rdc / patches-2.6.30 / 120-panic_on_unrecovered_nmi.patch
1 Index: linux-2.6.30.10/drivers/mfd/rdc321x-southbridge.c
2 ===================================================================
3 --- linux-2.6.30.10.orig/drivers/mfd/rdc321x-southbridge.c      2010-04-28 13:05:17.000000000 +0200
4 +++ linux-2.6.30.10/drivers/mfd/rdc321x-southbridge.c   2010-04-28 13:05:27.000000000 +0200
5 @@ -84,6 +84,8 @@
6         rdc321x_gpio_pdata.sb_pdev = pdev;
7         rdc321x_wdt_pdata.sb_pdev = pdev;
8  
9 +       panic_on_unrecovered_nmi = 1;
10 +
11         return mfd_add_devices(&pdev->dev, -1,
12                 rdc321x_sb_cells, ARRAY_SIZE(rdc321x_sb_cells), NULL, 0);
13  }