]> git.baikalelectronics.ru Git - kernel.git/commit
kernel.h: unconditionally include asm/div64.h for do_div()
authorJani Nikula <jani.nikula@intel.com>
Fri, 8 Mar 2019 00:26:32 +0000 (16:26 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Mar 2019 02:31:59 +0000 (18:31 -0800)
commit7be4ee7ea11a90cd7260c5effd3346d2b48c93df
tree49d08280572a05a01d1cd5e317d5a90f8dc3cbb6
parentd5c3d07d24a4c6d9dcb07775dbe154578fe0a136
kernel.h: unconditionally include asm/div64.h for do_div()

Include asm/div64.h for do_div() usage in DIV_ROUND_DOWN_ULL() and
DIV_ROUND_CLOSEST_ULL().  Remove the old CONFIG_LBDAF=y conditional
include.

Link: http://lkml.kernel.org/r/20181228153430.23763-1-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kernel.h