kdb: Allow kernel loadable modules to add kdb shell functions
authorJason Wessel <jason.wessel@windriver.com>
Mon, 11 Oct 2010 15:20:14 +0000 (10:20 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Fri, 22 Oct 2010 20:34:11 +0000 (15:34 -0500)
commitf7030bbc446430ecd12c9ad02cf0ea94934e5f91
tree1a281ffa0c2686fa898081781a0c7b9bbc2d5b00
parentfb70b5888b70b0b50f738fbfc019445493112eb1
kdb: Allow kernel loadable modules to add kdb shell functions

In order to allow kernel modules to dynamically add a command to the
kdb shell the kdb_register, kdb_register_repeat, kdb_unregister, and
kdb_printf need to be exported as GPL symbols.

Any kernel module that adds a dynamic kdb shell function should only
need to include linux/kdb.h.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
include/linux/kdb.h
kernel/debug/kdb/kdb_io.c
kernel/debug/kdb/kdb_main.c
kernel/debug/kdb/kdb_private.h