]> git.karo-electronics.de Git - linux-beck.git/commit
module: Don't report discarded init pages as kernel text.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 29 Jan 2008 22:13:17 +0000 (17:13 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 29 Jan 2008 06:13:18 +0000 (17:13 +1100)
commita2da4052f1df6bc77749f84496fe731ab8b458f7
treed80b32de264a9929cc5746022a11674a5619bed6
parent8561b089afbaed2651591e5a4574fdca451d82f2
module: Don't report discarded init pages as kernel text.

Current code could cause a bug in symbol_put_addr() if an arch used
kmalloc module text: we might think the symbol belongs to the core
kernel.

The downside is that this might make backtraces through (discarded)
init functions harder to read on some archs, but we already have that
issue for modules and noone has complained.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/extable.c