git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: make early printk selectable on 64-bit as well
[safe/jmp/linux-2.6]
/
kernel
/
printk.c
diff --git
a/kernel/printk.c
b/kernel/printk.c
index
3b7c968
..
58bbec6
100644
(file)
--- a/
kernel/printk.c
+++ b/
kernel/printk.c
@@
-36,6
+36,13
@@
#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.. */