commit | b7f5e3c7742d5332b78b831131f43fc3630e6322 | [log] [tgz] |
---|---|---|
author | Andi Kleen <ak@suse.de> | Tue Sep 26 10:52:34 2006 +0200 |
committer | Andi Kleen <andi@basil.nowhere.org> | Tue Sep 26 10:52:34 2006 +0200 |
tree | 4334c97a3a8e2ac409444ecb2d7844d3a63e4118 | |
parent | 3fa7c794fe4dc127f7fac3fad4d13628e68f89ce [diff] |
[PATCH] Don't access the APIC in safe_smp_processor_id when it is not mapped yet Lockdep can call the dwarf2 unwinder early, and the dwarf2 code uses safe_smp_processor_id which tries to access the local APIC page. But that doesn't work before the APIC code has set up its fixmap. Check for this case and always return boot cpu then. Cc: jbeulich@novell.com Cc: mingo@elte.hu Signed-off-by: Andi Kleen <ak@suse.de>