commit | c8ca6e70fb74cd3bb6fc0738aed40991b9de0b87 | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <marek.behun@nic.cz> | Wed Oct 10 17:17:27 2018 +0200 |
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | Sat Oct 13 15:19:43 2018 +0200 |
tree | 77023db2b5400ca07861c328b56c909bcdb0403a | |
parent | cd69606ad05e1d6a930e2d29ac277c00108ef908 [diff] |
watchdog: armada_37xx_wdt: use do_div for u64 division When the driver is built on 32 bit architectures during compile test, the linker complains about "__udivdi3" being undefined. We have to use do_div macro instead of the division operator when dividing u64 value. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>