]> err.no Git - linux-2.6/blobdiff - kernel/printk.c
x86: remove duplicated line about
[linux-2.6] / kernel / printk.c
index 5f9d053699f9548c7002d7717b7a345e2d63d03d..58bbec6841193d977f0a928fef090aee5edafa9b 100644 (file)
 
 #include <asm/uaccess.h>
 
+/*
+ * Architectures can override it:
+ */
+void __attribute__((weak)) early_printk(const char *fmt, ...)
+{
+}
+
 #define __LOG_BUF_LEN  (1 << CONFIG_LOG_BUF_SHIFT)
 
 /* printk's without a loglevel use this.. */
@@ -573,11 +580,6 @@ static int __init printk_time_setup(char *str)
 
 __setup("time", printk_time_setup);
 
-__attribute__((weak)) unsigned long long printk_clock(void)
-{
-       return sched_clock();
-}
-
 /* Check if we have any console registered that can be called early in boot. */
 static int have_callable_console(void)
 {