]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: Octeon: Mark octeon_wdt interrupt as IRQF_NO_THREAD
authorVenkat Subbiah <venkat.subbiah@cavium.com>
Tue, 4 Oct 2011 00:22:04 +0000 (17:22 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 5 Nov 2011 20:15:38 +0000 (21:15 +0100)
commit2731e5feeea9492aa94cbba5e8f392cdeabba32d
treec5ff4c1f4d6f00a7e07f4a90ddc16452186f0050
parent16b645a7275aee96ff9819e74c1c161b2d3b4096
watchdog: Octeon: Mark octeon_wdt interrupt as IRQF_NO_THREAD

This is to exclude it from force threading to allow RT patch set to work.

The watchdog timers are per-CPU and the addresses of register that reset
the timer are calculated based on the current CPU.  Therefore we cannot
allow it to run on a thread on a different CPU.  Also we only do a
single register write, which is much faster than scheduling a handler
thread.

And while on this line remove IRQF_DISABLED as this flag is a NOP.

Signed-off-by: Venkat Subbiah<venkat.subbiah@cavium.com>
Acked-by: David Daney<david.daney@cavium.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/octeon-wdt-main.c