kgdb: fix comment regarding static function

The comment that says that module_event() is not static is clearly
wrong.

Signed-off-by: Nadav Amit <namit@vmware.com>
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
This commit is contained in:
Nadav Amit 2018-10-21 21:45:48 -07:00 committed by Daniel Thompson
parent 635714312e
commit d8a050f5a3
1 changed files with 1 additions and 4 deletions

View File

@ -787,11 +787,8 @@ out:
}
/*
* GDB places a breakpoint at this function to know dynamically
* loaded objects. It's not defined static so that only one instance with this
* name exists in the kernel.
* GDB places a breakpoint at this function to know dynamically loaded objects.
*/
static int module_event(struct notifier_block *self, unsigned long val,
void *data)
{