[rb532] refresh 2.6.24 patches
[openwrt/svn-archive/archive.git] / target / linux / rb532 / patches-2.6.24 / 520-rc32434_wdt.patch
1 --- a/arch/mips/kernel/time.c
2 +++ b/arch/mips/kernel/time.c
3 @@ -75,6 +75,7 @@ EXPORT_SYMBOL(perf_irq);
4 */
5
6 unsigned int mips_hpt_frequency;
7 +EXPORT_SYMBOL(mips_hpt_frequency);
8
9 void __init clocksource_set_clock(struct clocksource *cs, unsigned int clock)
10 {
11 --- a/drivers/watchdog/Kconfig
12 +++ b/drivers/watchdog/Kconfig
13 @@ -639,6 +639,18 @@ config AR7_WDT
14 help
15 Hardware driver for the TI AR7 Watchdog Timer.
16
17 +config RC32434_WDT
18 + tristate "IDT Interprise 79RC32434 SoC hardware watchdog"
19 + depends on WATCHDOG && MIKROTIK_RB500
20 + help
21 + This is a driver for hardware watchdog integrated in IDT Interprise
22 + 79RC32434 SoC. This watchdog simply watches your kernel to make sure
23 + it doesn't freeze, and if it does, it reboots your computer after a
24 + certain amount of time.
25 +
26 + To compile this driver as a module, choose M here: the module will be
27 + called rc32434_wdt.
28 +
29 # PARISC Architecture
30
31 # POWERPC Architecture