]> Git Repo - linux.git/commit
kmsg_dump: fix build for CONFIG_PRINTK=n
authorRandy Dunlap <[email protected]>
Tue, 1 Dec 2009 18:52:02 +0000 (10:52 -0800)
committerDavid Woodhouse <[email protected]>
Wed, 2 Dec 2009 08:44:33 +0000 (08:44 +0000)
commit595dd3d8bf953254d8d2f30f99c54fe09c470040
treef7a1d6c8ccb2e32f4fdf7e04a6a6ba8cfe0acc0c
parent75352662c54421b48ed58200565395b123952748
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 <[email protected]>
Acked-by: Simon Kagstrom <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
include/linux/kmsg_dump.h
kernel/printk.c
This page took 0.068709 seconds and 4 git commands to generate.