From: Randy Dunlap Date: Tue, 1 Dec 2009 18:52:02 +0000 (-0800) Subject: kmsg_dump: fix build for CONFIG_PRINTK=n X-Git-Tag: v2.6.33-rc1~66^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=595dd3d8bf953254d8d2f30f99c54fe09c470040;p=pandora-kernel.git kmsg_dump: fix build for CONFIG_PRINTK=n kmsg_dump() fails to build when CONFIG_PRINTK=n; provide stubs for the kmsg_dump*() functions when CONFIG_PRINTK=n. kernel/printk.c: In function 'kmsg_dump': kernel/printk.c:1501: error: 'log_buf_len' undeclared (first use in this function) kernel/printk.c:1502: error: 'logged_chars' undeclared (first use in this function) kernel/printk.c:1506: error: 'log_buf' undeclared (first use in this function) Signed-off-by: Randy Dunlap Acked-by: Simon Kagstrom Signed-off-by: David Woodhouse --- Reading git-diff-tree failed