Wim Van Sebroeck
63842cccb2
Revert "[WATCHDOG] hpwdt: Add CFLAGS to get driver working"
...
After Linus fixed the inline assembly, the CFLAGS option is not
needed anymore.
Signed-off-by: Thomas Mingarelli <Thomas.Mingarelli@hp.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
7c4be5aa8d
[WATCHDOG 57/57] wdt501/pci: Clean up, coding style and switch to unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
f2b79c6ede
[WATCHDOG 56/57] wdt977: clean up, coding style and switch to unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
d0e58eed05
[WATCHDOG 55/57] wdt285: switch to unlocked_ioctl and tidy up oddments of coding style
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
dae67a2835
[WATCHDOG 54/57] wdrtas: clean up, coding style, switch to unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
694b16b2bd
[WATCHDOG 53/57] wafer5823wdt: Clean up, coding style, switch to unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
84af401af8
[WATCHDOG 52/57] w83977f_wdt: clean up, coding style and switch to unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
c1cfd1a2ff
[WATCHDOG 51/57] w83877f_wdt: clean up code, coding style, switch to unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
c1c8dd39f5
[WATCHDOG 50/57] w83697hf_wdt: cleanup, coding style and switch to unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
46a3949ddc
[WATCHDOG 49/57] w83627hf: coding style, clean up and switch to unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
8dc244f7de
[WATCHDOG 48/57] txx9: Fix locking, switch to unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
f92d3749d7
[WATCHDOG 47/57] softdog: clean up, coding style and switch to unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
598467938d
[WATCHDOG 46/57] smsc37b787_wdt: coding style, switch to unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
70b814ec1a
[WATCHDOG 45/57] shwdt: coding style, cleanup, switch to unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
9b748ed03c
[WATCHDOG 44/57] scx200_wdt: clean up and switch to unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
ff94806057
[WATCHDOG 43/57] sc520_wdt: Clean up and switch to unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
d14bccaada
[WATCHDOG 42/57] sc1200_wdt: clean up, fix locking and use unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
df3c9de3de
[WATCHDOG 41/57] sb_wdog: Clean up and switch to unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
f4f6f65a55
[WATCHDOG 40/57] sbc_epx_c3_wdt: switch to unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
9f53c8de1a
[WATCHDOG 39/57] sbc8360: clean up
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
619a8a2bb1
[WATCHDOG 38/57] stg7240_wdt: unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
1780de4140
[WATCHDOG 37/57] sbc60xxwdt: clean up and switch to unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
f19e031265
[WATCHDOG 36/57] sa1100_wdt: Switch to unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
edef7a93f9
[WATCHDOG 35/57] s3c2410: watchdog cleanup and switch to unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
72d5c0505b
[WATCHDOG 34/57] rm9k_wdt: clean up
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
84ca995c25
[WATCHDOG 33/57] pnx4008_wdt: unlocked_ioctl setup
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Linus Torvalds
1f6ef23429
[watchdog] hpwdt: fix use of inline assembly
...
The inline assembly in drivers/watchdog/hpwdt.c was incredibly broken,
and included all the function prologue and epilogue stuff, even though
it was itself then inside a C function where the compiler would add its
own prologue and epilogue on top of it all.
This then just _happened_ to work if you had exactly the right compiler
version and exactly the right compiler flags, so that gcc just happened
to not create any prologue at all (the gcc-generated epilogue wouldn't
matter, since it would never be reached).
But the more proper way to fix it is to simply not do this. Move the
inline asm to the top level, with no surrounding function at all (the
better alternative would be to remove the prologue and make it actually
use proper description of the arguments to the inline asm, but that's a
bigger change than the one I'm willing to make right now).
Tested-by: S.Çağlar Onur <caglar@pardus.org.tr>
Acked-by: Thomas Mingarelli <Thomas.Mingarelli@hp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
17 years ago
Wim Van Sebroeck
fdf7be6f13
Revert "[WATCHDOG] hpwdt: Fix NMI handling."
...
The old setup works better.
Signed-off-by: Thomas Mingarelli <Thomas.Mingarelli@hp.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Thomas Mingarelli
4dc7347a3b
[WATCHDOG] hpwdt: Add CFLAGS to get driver working
...
To get this driver working we need the CFLAGS_hpwdt.o += -O in the Makefile.
Signed-off-by: Thomas Mingarelli <Thomas.Mingarelli@hp.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Thomas Mingarelli
58c2709c2b
Revert "[WATCHDOG] make watchdog/hpwdt.c:asminline_call() static"
...
The driver needs the asmlinkage tag and the CFLAGS line in the Makefile.
Without it the driver doesn't work.
Signed-off-by: Thomas Mingarelli <Thomas.Mingarelli@hp.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
261dcc70aa
[WATCHDOG 32/57] pcwd: clean up, unlocked_ioctl usage
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
aee334c23c
[WATCHDOG 31/57] pc87413_wdt: clean up, coding style, unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
12b9df7d21
[WATCHDOG 30/57] omap_wdt: locking, unlocked_ioctl, tidy
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
a86b849868
[WATCHDOG 29/57] mv64x60_wdt: clean up and locking checks
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
ed78c2da14
[WATCHDOG 28/57] mtx-1_wdt: clean up, coding style, unlocked ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
83ab1a53f2
[WATCHDOG 27/57] mpcore watchdog: unlocked_ioctl and BKl work
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
f26ef3dc69
[WATCHDOG 26/57] mpc watchdog: clean up and locking
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
3930964532
[WATCHDOG 25/57] mixcomwd: coding style locking, unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
325ea4d3a8
[WATCHDOG 24/57] machzwd: clean up, coding style, unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
f4fabce15b
[WATCHDOG 23/57] ks8695_wdt: clean up, coding style, unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
20d35f3e50
[WATCHDOG 22/57] ixp4xx_wdt: unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
640b4f6857
[WATCHDOG 21/57] ixp2000_wdt: clean up and unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
00e9c2059a
[WATCHDOG 20/57] booke watchdog: clean up and unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
9a5f50d34b
[WATCHDOG 19/57] bfin: watchdog cleanup and unlocked_ioctl
...
Scan, tidy and check for unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Ingo Molnar
57f50ca127
drivers/watchdog/geodewdt.c: build fix
...
* Wim Van Sebroeck <wim@iguana.be> wrote:
> Author: Jordan Crouse <jordan.crouse@amd.com>
> Date: Mon Jan 21 10:07:00 2008 -0700
>
> [WATCHDOG] Add a watchdog driver based on the CS5535/CS5536 MFGPT timers
-tip testing found the following build failure on latest -git:
drivers/watchdog/geodewdt.c: In function 'geodewdt_probe':
drivers/watchdog/geodewdt.c:225: error: too many arguments to function 'geode_mfgpt_alloc_timer'
make[1]: *** [drivers/watchdog/geodewdt.o] Error 1
make: *** [drivers/watchdog/geodewdt.o] Error 2
with this config:
http://redhat.com/~mingo/misc/config-Fri_May_30_15_19_52_CEST_2008.bad
find the fix below.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
17 years ago
Alan Cox
0e6fa3fb38
[WATCHDOG 18/57] iTCO: unlocked_ioctl, coding style and cleanup
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
30abcec145
[WATCHDOG 17/57] it8712f: unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
02e3814e19
[WATCHDOG 16/57] iop: watchdog switch to unlocked_ioctl
...
Review and switch to unlocked_ioctl
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
9b9dbcca3f
[WATCHDOG 15/57] indydog: Clean up and tidy
...
Switch to unlocked_ioctl as well
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago
Alan Cox
02355c329a
[WATCHDOG 14/57] ibmasr: coding style, locking verify
...
There is a new #if 0 section here which is a suggested fix for the horrible
PCI hack in the existing code. Would be good if someone with a box that uses
this device could test it.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 years ago