[PATCH] Add cpu_clock declaration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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 <sven@xxxxxxxxxxxxxxxxxxxxx>


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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux