[PATCH 03/12] kdb: Turn KGDB_KDB=n stubs into static inlines

2012-09-11 Thread Anton Vorontsov
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 --- include/linux/kdb.h | 29 - 1 file changed, 16 insertions(+), 13 deletio

[PATCH 03/12] kdb: Turn KGDB_KDB=n stubs into static inlines

2012-08-20 Thread Anton Vorontsov
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 --- include/linux/kdb.h | 29 - 1 file changed, 16 insertions(+), 13 deletio