-
- Downloads
compat_ioctl: move WDIOC handling into wdt drivers
All watchdog drivers implement the same set of ioctl commands, and fortunately all of them are compatible between 32-bit and 64-bit architectures. Modern drivers always go through drivers/watchdog/wdt.c as an abstraction layer, but older ones implement their own file_operations on a character device for this. Move the handling from fs/compat_ioctl.c into the individual drivers. Note that most of the legacy drivers will never be used on 64-bit hardware, because they are for an old 32-bit SoC implementation, but doing them all at once is safer than trying to guess which ones do or do not need the compat_ioctl handling. Reviewed-by:Guenter Roeck <linux@roeck-us.net> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
Showing
- arch/powerpc/platforms/52xx/mpc52xx_gpt.c 1 addition, 0 deletionsarch/powerpc/platforms/52xx/mpc52xx_gpt.c
- arch/um/drivers/harddog_kern.c 1 addition, 0 deletionsarch/um/drivers/harddog_kern.c
- drivers/char/ipmi/ipmi_watchdog.c 1 addition, 0 deletionsdrivers/char/ipmi/ipmi_watchdog.c
- drivers/hwmon/fschmd.c 1 addition, 0 deletionsdrivers/hwmon/fschmd.c
- drivers/hwmon/w83793.c 1 addition, 0 deletionsdrivers/hwmon/w83793.c
- drivers/rtc/rtc-ds1374.c 1 addition, 0 deletionsdrivers/rtc/rtc-ds1374.c
- drivers/rtc/rtc-m41t80.c 1 addition, 0 deletionsdrivers/rtc/rtc-m41t80.c
- drivers/watchdog/acquirewdt.c 1 addition, 0 deletionsdrivers/watchdog/acquirewdt.c
- drivers/watchdog/advantechwdt.c 1 addition, 0 deletionsdrivers/watchdog/advantechwdt.c
- drivers/watchdog/alim1535_wdt.c 1 addition, 0 deletionsdrivers/watchdog/alim1535_wdt.c
- drivers/watchdog/alim7101_wdt.c 1 addition, 0 deletionsdrivers/watchdog/alim7101_wdt.c
- drivers/watchdog/ar7_wdt.c 1 addition, 0 deletionsdrivers/watchdog/ar7_wdt.c
- drivers/watchdog/at91rm9200_wdt.c 1 addition, 0 deletionsdrivers/watchdog/at91rm9200_wdt.c
- drivers/watchdog/ath79_wdt.c 1 addition, 0 deletionsdrivers/watchdog/ath79_wdt.c
- drivers/watchdog/bcm63xx_wdt.c 1 addition, 0 deletionsdrivers/watchdog/bcm63xx_wdt.c
- drivers/watchdog/cpu5wdt.c 1 addition, 0 deletionsdrivers/watchdog/cpu5wdt.c
- drivers/watchdog/eurotechwdt.c 1 addition, 0 deletionsdrivers/watchdog/eurotechwdt.c
- drivers/watchdog/f71808e_wdt.c 1 addition, 0 deletionsdrivers/watchdog/f71808e_wdt.c
- drivers/watchdog/gef_wdt.c 1 addition, 0 deletionsdrivers/watchdog/gef_wdt.c
- drivers/watchdog/geodewdt.c 1 addition, 0 deletionsdrivers/watchdog/geodewdt.c
Loading
Please register or sign in to comment