commit | 68c3467bb95a9e99f46d04cb96f60c04bb997ac8 | [log] [tgz] |
---|---|---|
author | HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> | Thu Aug 29 18:27:58 2013 +0900 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Wed Oct 09 15:41:10 2013 -0700 |
tree | 65b3277e6c11b5bded55776f0ee588d46d0bf335 | |
parent | d0e639c9e06d44e713170031fe05fb60ebe680af [diff] |
x86, apic: Add boot_cpu_is_bsp() to check if boot cpu is BSP Kexec can enter the kdump 2nd kernel on AP if crash happens on AP. To check if boot cpu is BSP, introduce a helper function boot_cpu_is_bsp(). Signed-off-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> Link: http://lkml.kernel.org/r/20130829092758.5476.90694.stgit@localhost6.localdomain6 Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>