kdb: Turn KGDB_KDB=n stubs into static inlines
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Mon, 24 Sep 2012 21:27:52 +0000 (14:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2012 20:42:26 +0000 (13:42 -0700)
commit729043e82cdd403a131127254528afea8031ebab
tree4e9b3d2ba4dacef4ef3512146cb7dafe10fcfb93
parentad394f66fa57ae66014cb74f337e2820bac4c417
kdb: Turn KGDB_KDB=n stubs into static inlines

This makes the stubs actually usable, since e.g. 'foo = kdb_register();'
leads to build errors in !KGDB_KDB case. Plus, with static inlines we
do type checking.

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Acked-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/kdb.h