[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1337012284-18680-1-git-send-email-hdoyu@nvidia.com>
Date: Mon, 14 May 2012 19:18:02 +0300
From: Hiroshi DOYU <hdoyu@...dia.com>
To: <hdoyu@...dia.com>
CC: <linux-tegra@...r.kernel.org>, <kay@...y.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Andrew Morton <akpm@...ux-foundation.org>,
Ingo Molnar <mingo@...e.hu>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH 1/1] printk: Make it compile with !CONFIG_PRINTK
Add missing prepend_timestamp() dummy.
Signed-off-by: Hiroshi DOYU <hdoyu@...dia.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists