Fenghua Yu c83a9d5e42 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 <fenghua.yu@intel.com>
Link: http://lkml.kernel.org/r/1363705484-27645-1-git-send-email-fenghua.yu@intel.com
Reported-and-tested-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2013-03-19 19:51:08 -07:00
..
2012-06-06 11:58:38 +02:00
2013-02-22 23:31:31 -05:00
2011-07-01 10:37:14 +02:00
2012-08-22 09:34:24 +02:00
2012-05-08 14:08:44 +02:00
2012-03-28 18:11:12 +01:00
2013-02-27 16:59:05 -05:00
2013-02-28 08:50:11 +02:00
2013-02-14 09:21:17 -05:00
2012-05-14 11:49:38 +02:00
2013-03-05 15:26:45 -08:00
2013-01-24 16:22:10 +01:00
2012-03-28 18:11:12 +01:00
2012-11-14 15:28:11 -08:00