]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
hpwdt: don't use static flags
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 30 Jul 2008 05:33:26 +0000 (22:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Jul 2008 16:41:45 +0000 (09:41 -0700)
commitd667b6ddbcdc036a27407c8b2c1243f1dfd69e26
tree4c43d584afd7cd5b83d914ae3f4fd364b6c2da91
parent26c131c71e31973e273adde4027e6a80bde164dc
hpwdt: don't use static flags

Static (read: global) is potential problem.  Two threads can corrupt each
other's interrupt status, better avoid this.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: Thomas Mingarelli <thomas.mingarelli@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/watchdog/hpwdt.c