Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

timekeeping: Fix up read_persistent_clock() breakage on sh

The recent commit "timekeeping: Increase granularity of
read_persistent_clock()" introduced read_persistent_clock()
rework which inadvertently broke the sh conversion:

arch/sh/kernel/time.c:45: error: passing argument 1 of 'rtc_sh_get_time' from incompatible pointer type
distcc[13470] ERROR: compile arch/sh/kernel/time.c on sprygo/32 failed
make[2]: *** [arch/sh/kernel/time.o] Error 1

This trivial fix gets it working again.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
LKML-Reference: <20090824223239.GB20832@linux-sh.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by

Paul Mundt and committed by
Ingo Molnar
0ceb4c3e d90246cd

+1 -1
+1 -1
arch/sh/kernel/time.c
··· 41 41 #ifdef CONFIG_GENERIC_CMOS_UPDATE 42 42 void read_persistent_clock(struct timespec *ts) 43 43 { 44 - rtc_sh_get_time(&ts); 44 + rtc_sh_get_time(ts); 45 45 } 46 46 47 47 int update_persistent_clock(struct timespec now)