summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/hid.c
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2016-06-10 16:10:12 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2016-06-10 16:26:31 -0700
commit4c2f8a48e989c323e4fb378f95ceaa8091760832 (patch)
tree9317087426feaffdd03152c494ffea8679ac3f2c /drivers/staging/greybus/hid.c
parent6db9cc68d7f9cea440293af4225a7b7f22d1d86d (diff)
greybus: timesync: Do 64 bit divisions in a 32 friendly way
We need to use 'do_div()' when doing 64 bit division or modulo division since the kernel will not pull in the gcc builtins __aeabi_ldivmod and __aeabi_uldivmod on 32 bit builds. Reported-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/hid.c')
0 files changed, 0 insertions, 0 deletions