printk: add dummy routine for when CONFIG_PRINTK=n
authorPranith Kumar <bobby.prani@gmail.com>
Mon, 26 Jan 2015 20:58:43 +0000 (12:58 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 26 Jan 2015 21:37:18 +0000 (13:37 -0800)
commit07261edb971492c6b41b44d7b1b51f76807d30ad
treea66b0f7333b15d9e3c58e32dbe42bbb19a7b5312
parent17636faada9c2f6696feafd633c5857ccf7ed0cd
printk: add dummy routine for when CONFIG_PRINTK=n

There are missing dummy routines for log_buf_addr_get() and
log_buf_len_get() for when CONFIG_PRINTK is not set causing build
failures.

This patch adds these dummy routines at the appropriate location.

Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/printk.h