From: Martin Schwidefsky Date: Mon, 8 Dec 2014 12:19:12 +0000 (+0100) Subject: s390/cputime: fix 31-bit compile X-Git-Tag: omap-for-v3.19/fixes-rc1~124^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=351997810131565fe62aec2c366deccbf6bda3f4;p=pandora-kernel.git s390/cputime: fix 31-bit compile git commit 8461b63ca01d125a245a0d0fb4821ea0656e5053 "s390: translate cputime magic constants to macros" introduce a built error for 31-bit: kernel/built-in.o: In function `posix_cpu_timer_set': posix-cpu-timers.c:(.text+0x2a8cc): undefined reference to `__udivdi3' The original code is actually broken for 31-bit and has been corrected by the above commit by forcing the compiler to use 64-bit arithmetic through the CPUTIME_PER_USEC define. To fix the compile error replace the 64-bit division with a call to __div(). Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed