gcc takes care of large div and mod operations and redirects them into the libgcc. There is no need to do it by hand in this case. Signed-off-by: Bastian Blank <waldi@xxxxxxxxxx> --- include/asm-generic/div64.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/asm-generic/div64.h b/include/asm-generic/div64.h index 8f4e319..45f618d 100644 --- a/include/asm-generic/div64.h +++ b/include/asm-generic/div64.h @@ -20,7 +20,7 @@ #include <linux/types.h> #include <linux/compiler.h> -#if BITS_PER_LONG == 64 +#if BITS_PER_LONG == 64 || CONFIG_LIBGCC_SUPPORT # define do_div(n,base) ({ \ uint32_t __base = (base); \ -- 1.6.2.1 -- To unsubscribe from this list: send the line "unsubscribe linux-s390" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html