The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH 1/1] printk: Make it compile with !CONFIG_PRINTK
@ 2012-05-14 16:18 Hiroshi DOYU
  2012-05-14 16:20 ` Kay Sievers
  0 siblings, 1 reply; 7+ messages in thread
From: Hiroshi DOYU @ 2012-05-14 16:18 UTC (permalink / raw)
  To: hdoyu
  Cc: linux-tegra, kay, Peter Zijlstra, Andrew Morton, Ingo Molnar,
	Greg Kroah-Hartman, linux-kernel

Add missing prepend_timestamp() dummy.

Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
---
 kernel/printk.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/printk.c b/kernel/printk.c
index 8b027bd..5f9e278 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -1438,6 +1438,7 @@ EXPORT_SYMBOL(printk);
 static struct log *log_from_idx(u32 idx) { return NULL; }
 static u32 log_next(u32 idx) { return 0; }
 static char *log_text(const struct log *msg) { return NULL; }
+static size_t prepend_timestamp(unsigned long long t, char *buf) { return 0; }
 static void call_console_drivers(int level, const char *text, size_t len) {}
 
 #endif /* CONFIG_PRINTK */
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-05-14 16:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-14 16:18 [PATCH 1/1] printk: Make it compile with !CONFIG_PRINTK Hiroshi DOYU
2012-05-14 16:20 ` Kay Sievers
2012-05-14 16:46   ` Joe Perches
2012-05-14 16:54     ` [PATCH 1/4] printk: Move to separate directory for easier modification Joe Perches
2012-05-14 16:54       ` [PATCH 2/4] printk: Separate out log_buf variables and functions Joe Perches
2012-05-14 16:54       ` [PATCH 3/4] printk: Separate out console bits to console.[ch] Joe Perches
2012-05-14 16:54       ` [PATCH 4/4] printk: Separate out kmsg bits to kmsg.c Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox