[patch 2/7] powerpc 2.6.20-rt8: fix compile error (time.c)

From: Tsutomu OWA
Date: Tue Mar 06 2007 - 20:16:13 EST



To fix the following compile error by replacing the deleted structure
member "is_continuous" with "flags".

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
arch/powerpc/kernel/time.c
arch/powerpc/kernel/time.c:938: error: unknown field 'is_continuous' specified in initializer
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Signed-off-by: Tsutomu Owa <tsutomu.owa@xxxxxxxxxxxxx>

-- owa

diff -rup linux-rt8/arch/powerpc/kernel/time.c rt/arch/powerpc/kernel/time.c
--- linux-rt8/arch/powerpc/kernel/time.c 2007-02-20 14:30:38.000000000 +0900
+++ rt/arch/powerpc/kernel/time.c 2007-03-05 10:27:26.000000000 +0900
@@ -935,7 +935,7 @@ struct clocksource clocksource_timebase
.mask = (cycle_t)-1,
.mult = 0,
.shift = 22,
- .is_continuous = 1,
+ .flags = CLOCK_SOURCE_IS_CONTINUOUS,
};




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/