diff options
author | Fenghua Yu <[email protected]> | 2013-03-19 08:04:44 -0700 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2013-03-19 19:51:08 -0700 |
commit | c83a9d5e425d4678b05ca058fec6254f18601474 (patch) | |
tree | 9fcab0ae6fa17816496cd7e1a16f0708dee3f660 /tools/perf/scripts/python/syscall-counts.py | |
parent | 66db3feb486c01349f767b98ebb10b0c3d2d021b (diff) |
x86-32, microcode_intel_early: Fix crash with CONFIG_DEBUG_VIRTUAL
In 32-bit, __pa_symbol() in CONFIG_DEBUG_VIRTUAL accesses kernel data
(e.g. max_low_pfn) that not only hasn't been setup yet in such early
boot phase, but since we are in linear mode, cannot even be detected
as uninitialized.
Thus, use __pa_nodebug() rather than __pa_symbol() to get a global
symbol's physical address.
Signed-off-by: Fenghua Yu <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Reported-and-tested-by: Tetsuo Handa <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions