Skip to content
Commit a2da4052 authored by Rusty Russell's avatar Rusty Russell
Browse files

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: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 8561b089
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment