25-akpm/arch/sparc/kernel/time.c |    9 +++++++++
 1 files changed, 9 insertions(+)

diff -puN arch/sparc/kernel/time.c~sparc32-sched_clock arch/sparc/kernel/time.c
--- 25/arch/sparc/kernel/time.c~sparc32-sched_clock	Thu Oct  9 01:50:11 2003
+++ 25-akpm/arch/sparc/kernel/time.c	Thu Oct  9 01:50:11 2003
@@ -624,3 +624,12 @@ static int set_rtc_mmss(unsigned long no
 		return -1;
 	}
 }
+
+/*
+ * Returns nanoseconds
+  */
+
+unsigned long long sched_clock(void)
+{
+	return (unsigned long long)jiffies * (1000000000 / HZ);
+}

_