Re: [PATCH v2 1/2] x86, apic: Add boot_cpu_is_bsp() to check if boot cpu is BSP

2013-10-15 Thread HATAYAMA Daisuke
(2013/10/16 4:12), Vivek Goyal wrote: On Tue, Oct 15, 2013 at 02:43:22PM +0900, HATAYAMA Daisuke wrote: 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 ---

Re: [PATCH v2 1/2] x86, apic: Add boot_cpu_is_bsp() to check if boot cpu is BSP

2013-10-15 Thread Vivek Goyal
On Tue, Oct 15, 2013 at 02:43:22PM +0900, HATAYAMA Daisuke wrote: > 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 > --- > arch/x86/include/asm/mpspec.h |7

Re: [PATCH v2 1/2] x86, apic: Add boot_cpu_is_bsp() to check if boot cpu is BSP

2013-10-15 Thread HATAYAMA Daisuke
(2013/10/16 4:12), Vivek Goyal wrote: On Tue, Oct 15, 2013 at 02:43:22PM +0900, HATAYAMA Daisuke wrote: 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

Re: [PATCH v2 1/2] x86, apic: Add boot_cpu_is_bsp() to check if boot cpu is BSP

2013-10-15 Thread Vivek Goyal
On Tue, Oct 15, 2013 at 02:43:22PM +0900, HATAYAMA Daisuke wrote: 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.hatay...@jp.fujitsu.com ---

[PATCH v2 1/2] x86, apic: Add boot_cpu_is_bsp() to check if boot cpu is BSP

2013-10-14 Thread HATAYAMA Daisuke
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 --- arch/x86/include/asm/mpspec.h |7 +++ arch/x86/kernel/apic/apic.c | 16

[PATCH v2 1/2] x86, apic: Add boot_cpu_is_bsp() to check if boot cpu is BSP

2013-10-14 Thread HATAYAMA Daisuke
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.hatay...@jp.fujitsu.com --- arch/x86/include/asm/mpspec.h |7 +++ arch/x86/kernel/apic/apic.c | 16