* 'kdb-merge' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb: (25 commits) kdb,debug_core: Allow the debug core to receive a panic notification MAINTAINERS: update kgdb, kdb, and debug_core info debug_core,kdb: Allow the debug core to process a recursive debug entry printk,kdb: capture printk() when in kdb shell kgdboc,kdb: Allow kdb to work on a non open console port kgdb: Add the ability to schedule a breakpoint via a tasklet mips,kgdb: kdb low level trap catch and stack trace powerpc,kgdb: Introduce low level trap catching x86,kgdb: Add low level debug hook kgdb: remove post_primary_code references kgdb,docs: Update the kgdb docs to include kdb kgdboc,keyboard: Keyboard driver for kdb with kgdb kgdb: gdb "monitor" -> kdb passthrough sparc,sunzilog: Add console polling support for sunzilog serial driver sh,sh-sci: Use NO_POLL_CHAR in the SCIF polled console code kgdb,8250,pl011: Return immediately from console poll kgdb: core changes to support kdb kdb: core for kgdb back end (2 of 2) kdb: core for kgdb back end (1 of 2) kgdb,blackfin: Add in kgdb_arch_set_pc for blackfin ...
Showing the changes to kernel/module.c (1 of 51 files). Show all
Unified · Split
| @@ -77,6 +77,10 @@ · 76 unmodified lines | ||
| 77 | 77 | DEFINE_MUTEX(module_mutex); |
| 78 | 78 | EXPORT_SYMBOL_GPL(module_mutex); |
| 79 | 79 | static LIST_HEAD(modules); |
| 80 | +#ifdef CONFIG_KGDB_KDB | |
| 81 | +struct list_head *kdb_modules = &modules; /* kdb needs the list of modules */ | |
| 82 | +#endif /* CONFIG_KGDB_KDB */ | |
| 83 | + | |
| 80 | 84 | |
| 81 | 85 | /* Block module loading/unloading? */ |
| 82 | 86 | int modules_disabled = 0; |