Jason Wessel
b590cddfa6
kdb: fix compile error without CONFIG_KALLSYMS
...
If CONFIG_KGDB_KDB is set and CONFIG_KALLSYMS is not set the kernel
will fail to build with the error:
kernel/built-in.o: In function `kallsyms_symbol_next':
kernel/debug/kdb/kdb_support.c:237: undefined reference to `kdb_walk_kallsyms'
kernel/built-in.o: In function `kallsyms_symbol_complete':
kernel/debug/kdb/kdb_support.c:193: undefined reference to `kdb_walk_kallsyms'
The kdb_walk_kallsyms needs a #ifdef proper header to match the C
implementation. This patch also fixes the compiler warnings in
kdb_support.c when compiling without CONFIG_KALLSYMS set. The
compiler warnings are a result of the kallsyms_lookup() macro not
initializing the two of the pass by reference variables.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com >
Reported-by: Michal Simek <monstr@monstr.eu >
2010-08-16 15:58:29 -05:00
..
2010-08-16 15:58:29 -05:00
2010-07-29 13:24:57 +02:00
2010-08-10 15:22:42 -07:00
2010-08-13 12:03:24 -07:00
2010-08-12 08:43:30 -07:00
2010-08-09 16:48:42 -04:00
2010-07-14 11:29:46 +02:00
2010-07-28 10:18:55 -04:00
2010-08-12 14:23:04 -07:00
2010-08-10 11:39:13 -07:00
2010-07-28 09:58:19 -04:00
2010-07-28 09:58:17 -04:00
2010-08-11 00:28:20 -04:00
2010-04-02 20:12:00 +02:00
2010-05-10 23:18:47 +02:00
2010-08-11 08:59:18 -07:00
2010-07-16 09:48:48 +02:00
2010-06-08 21:40:36 +02:00
2010-08-06 09:39:22 -07:00
2010-08-12 09:51:35 -07:00
2010-07-19 11:54:15 +01:00
2010-03-06 11:26:46 -08:00
2010-08-09 20:45:05 -07:00
2010-08-11 08:59:19 -07:00
2010-08-09 20:45:02 -07:00
2010-06-30 15:43:44 -07:00
2010-04-12 12:19:18 +10:00
2010-08-06 13:18:29 -07:00
2010-08-06 09:30:52 -07:00
2010-05-20 21:04:21 -05:00
2010-08-11 08:59:22 -07:00
2010-08-12 08:43:29 -07:00
2010-05-27 09:12:45 -07:00
2010-05-08 18:08:30 +02:00
2010-05-21 09:37:31 -07:00
2010-06-29 10:07:09 +02:00
2010-03-30 22:02:32 +09:00
2010-05-04 05:38:16 +02:00
2010-04-06 00:15:37 +02:00
2010-06-09 10:34:49 +02:00
2010-08-10 11:39:13 -07:00
2010-08-05 12:59:13 +09:30
2010-05-19 08:18:44 +02:00
2010-03-30 22:02:32 +09:00
2010-08-04 15:23:14 -07:00
2010-08-11 08:59:22 -07:00
2010-08-11 23:04:20 +09:30
2010-08-06 09:39:22 -07:00
2010-03-30 22:02:32 +09:00
2010-08-11 08:59:20 -07:00
2010-07-19 02:00:34 +02:00
2010-08-10 12:07:51 -07:00
2010-07-23 15:08:12 +02:00
2010-08-09 20:45:06 -07:00
2010-05-27 09:12:57 -07:00
2010-08-11 08:59:19 -07:00
2010-08-09 20:45:06 -07:00
2010-06-14 16:37:26 -07:00
2010-05-10 11:08:34 -07:00
2010-06-14 16:37:26 -07:00
2010-06-09 10:34:49 +02:00
2010-05-11 16:10:47 -07:00
2010-05-10 11:08:35 -07:00
2010-06-14 16:37:26 -07:00
2010-05-10 11:08:35 -07:00
2010-05-27 09:12:48 -07:00
2010-03-30 22:02:32 +09:00
2010-05-11 12:01:10 -07:00
2010-06-09 10:34:49 +02:00
2010-07-17 12:06:22 +02:00
2010-07-17 12:06:22 +02:00
2010-07-21 21:46:12 +02:00
2010-07-21 21:45:08 +02:00
2010-03-11 18:32:53 +01:00
2010-04-23 11:02:02 +02:00
2010-06-18 10:46:56 +02:00
2010-06-18 10:46:56 +02:00
2010-08-06 09:39:22 -07:00
2010-08-04 11:17:10 -07:00
2010-05-27 09:12:48 -07:00
2010-06-04 15:21:45 -07:00
2010-03-30 22:02:32 +09:00
2010-08-09 20:45:06 -07:00
2010-07-28 09:58:55 -04:00
2010-07-16 09:48:48 +02:00
2010-05-25 08:07:05 -07:00
2010-08-10 11:39:13 -07:00
2010-03-30 22:02:32 +09:00
2010-07-27 12:40:54 +02:00
2010-08-10 15:33:09 -07:00
2010-05-14 09:50:34 -04:00
2010-03-06 11:26:23 -08:00
2010-06-16 14:55:34 -07:00
2010-05-10 08:48:39 +02:00
2010-07-07 08:46:42 +02:00
2010-06-29 10:07:14 +02:00
2010-08-09 11:50:34 +02:00