Merge tag 'asm-generic-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic
Pull asm-generic updates from Arnd Bergmann: "The asm-generic tree this time contains one series from Nicolas Pitre that makes the optimized do_div() implementation from the ARM architecture available to all architectures. This also adds stricter type checking for callers of do_div, which has uncovered a number of bugs in existing code, and fixes up the ones we have found" * tag 'asm-generic-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic: ARM: asm/div64.h: adjust to generic codde __div64_32(): make it overridable at compile time __div64_const32(): abstract out the actual 128-bit cross product code do_div(): generic optimization for constant divisor on 32-bit machines div64.h: optimize do_div() for power-of-two constant divisors mtd/sm_ftl.c: fix wrong do_div() usage drm/mgag200/mgag200_mode.c: fix wrong do_div() usage hid-sensor-hub.c: fix wrong do_div() usage ti/fapll: fix wrong do_div() usage ti/clkt_dpll: fix wrong do_div() usage tegra/clk-divider: fix wrong do_div() usage imx/clk-pllv2: fix wrong do_div() usage imx/clk-pllv1: fix wrong do_div() usage nouveau/nvkm/subdev/clk/gk20a.c: fix wrong do_div() usage
Showing
- arch/arm/include/asm/div64.h 93 additions, 190 deletionsarch/arm/include/asm/div64.h
- drivers/clk/tegra/clk-divider.c 2 additions, 2 deletionsdrivers/clk/tegra/clk-divider.c
- drivers/gpu/drm/mgag200/mgag200_mode.c 1 addition, 1 deletiondrivers/gpu/drm/mgag200/mgag200_mode.c
- drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 1 addition, 2 deletionsdrivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c
- drivers/hid/hid-sensor-hub.c 2 additions, 1 deletiondrivers/hid/hid-sensor-hub.c
- include/asm-generic/div64.h 177 additions, 1 deletioninclude/asm-generic/div64.h
- lib/div64.c 4 additions, 2 deletionslib/div64.c
Loading
Please register or sign in to comment