summaryrefslogtreecommitdiffstats
path: root/kernel/printk.c
diff options
context:
space:
mode:
authorAnton Vorontsov <anton.vorontsov@linaro.org>2012-07-20 17:27:54 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-21 10:34:00 -0700
commit1b499d05eecbe04969516717a8e15afb6ad80689 (patch)
treebd76ea04682094e21a4c34e770d818f80bdc3a7f /kernel/printk.c
parentbc792e612e78a24ae0b30cc5b85f2368379ba4d4 (diff)
downloadop-kernel-dev-1b499d05eecbe04969516717a8e15afb6ad80689.zip
op-kernel-dev-1b499d05eecbe04969516717a8e15afb6ad80689.tar.gz
printk: Remove kdb_syslog_data
The function is no longer needed, so remove it. Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/printk.c')
-rw-r--r--kernel/printk.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/kernel/printk.c b/kernel/printk.c
index 177fa49..c812967 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -1192,21 +1192,6 @@ SYSCALL_DEFINE3(syslog, int, type, char __user *, buf, int, len)
return do_syslog(type, buf, len, SYSLOG_FROM_CALL);
}
-#ifdef CONFIG_KGDB_KDB
-/* kdb dmesg command needs access to the syslog buffer. do_syslog()
- * uses locks so it cannot be used during debugging. Just tell kdb
- * where the start and end of the physical and logical logs are. This
- * is equivalent to do_syslog(3).
- */
-void kdb_syslog_data(char *syslog_data[4])
-{
- syslog_data[0] = log_buf;
- syslog_data[1] = log_buf + log_buf_len;
- syslog_data[2] = log_buf + log_first_idx;
- syslog_data[3] = log_buf + log_next_idx;
-}
-#endif /* CONFIG_KGDB_KDB */
-
static bool __read_mostly ignore_loglevel;
static int __init ignore_loglevel_setup(char *str)
OpenPOWER on IntegriCloud