1 ....since some architectures don't support __udivdi3() (and
2 we don't want to use that, anyway).
4 Signed-off-by: Segher Boessenkool
6 include/linux/time.h | 4 ++++
7 1 files changed, 4 insertions(+), 0 deletions(-)
10 Index: linux-2.6.24/include/linux/time.h
11 ===================================================================
12 --- linux-2.6.24.orig/include/linux/time.h 2008-06-23 11:17:09.021841180 +0200
13 +++ linux-2.6.24/include/linux/time.h 2008-06-23 11:18:34.445167140 +0200
17 while(unlikely(ns >= NSEC_PER_SEC)) {
18 + /* The following asm() prevents the compiler from
19 + * optimising this loop into a modulo operation.