[patch 2/7] powerpc 2.6.20-rt8: fix compile error (time.c)
Tsutomu OWA
tsutomu.owa at toshiba.co.jp
Wed Mar 7 12:15:35 EST 2007
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 at toshiba.co.jp>
-- 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,
};
More information about the Linuxppc-dev
mailing list