This patch should go before softlockup-use-cpu-clock.patch in the RT
queue.


Add extern declaration for the sched.c cpu_clock function to
resolve the implicit declaration in softlockup.c.


signed-off-by: Sven-Thorsten Dietrich <[EMAIL PROTECTED]>


Index: linux-2.6.22/include/linux/sched.h
===================================================================
--- linux-2.6.22.orig/include/linux/sched.h
+++ linux-2.6.22/include/linux/sched.h
@@ -302,6 +302,7 @@ extern void cpu_init (void);
 extern void trap_init(void);
 extern void update_process_times(int user);
 extern void scheduler_tick(void);
+extern unsigned long long cpu_clock(int cpu);
 
 #ifdef CONFIG_GENERIC_HARDIRQS
 extern int debug_direct_keyboard;


-
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to