diff options
author | Oded Gabbay <oded.gabbay@gmail.com> | 2019-03-01 15:21:11 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-01 15:44:59 +0300 |
commit | b3bf147bd6117f2cc493c6371c6f0be659b0dd96 (patch) | |
tree | 0746b0a4d73bda58d0a5664d802e20845bb8e553 /drivers/hv | |
parent | 91d3f8a629849968dc91d6ce54f2d46abf4feb7f (diff) | |
download | linux-b3bf147bd6117f2cc493c6371c6f0be659b0dd96.tar.xz |
habanalabs: use do_div for 64-bit divisions
This patch fix compilation error in 32-bit ARM architecture regarding
division of 2 64-bit variables.
Use the kernel do_div() macro, which is implemented per architecture, for
doing these divisions instead of using the / operator.
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv')
0 files changed, 0 insertions, 0 deletions