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

2012-09-24 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 Acked-by: Jason Wessel --- include/linux/kdb.h | 29 - 1 file changed, 16 i

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

2012-09-19 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 Acked-by: Jason Wessel --- include/linux/kdb.h | 29 - 1 file changed, 16 i

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

2012-09-13 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