aboutsummaryrefslogtreecommitdiff
path: root/tools/include/linux/kernel.h
diff options
context:
space:
mode:
authorMarek BehĂșn <[email protected]>2018-10-10 17:17:27 +0200
committerWim Van Sebroeck <[email protected]>2018-10-13 15:19:43 +0200
commitc8ca6e70fb74cd3bb6fc0738aed40991b9de0b87 (patch)
tree77023db2b5400ca07861c328b56c909bcdb0403a /tools/include/linux/kernel.h
parentcd69606ad05e1d6a930e2d29ac277c00108ef908 (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 <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions