On 05/04/2017 06:52 PM, Henning Schild wrote:
> AMD MCE is just relevant for the 64Bit case and causes linking problems
> for 32.
> 
> Reported-by: Michael Smith <[email protected]>
> Signed-off-by: Henning Schild <[email protected]>
> ---
>  arch/x86/kernel/ipipe.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/x86/kernel/ipipe.c b/arch/x86/kernel/ipipe.c
> index b207502..e3f5dc0 100644
> --- a/arch/x86/kernel/ipipe.c
> +++ b/arch/x86/kernel/ipipe.c
> @@ -134,7 +134,7 @@ void __init __ipipe_enable_pipeline(void)
>                         __ipipe_ack_apic);
>  #endif
>  
> -#ifdef CONFIG_X86_MCE_AMD
> +#if defined(CONFIG_X86_MCE_AMD) && defined(CONFIG_X86_64)
>       ipipe_request_irq(ipipe_root_domain,
>                         ipipe_apic_vector_irq(DEFERRED_ERROR_VECTOR),
>                         __ipipe_do_IRQ, smp_deferred_error_interrupt,
> 

Merged, thanks.

-- 
Philippe.

_______________________________________________
Xenomai mailing list
[email protected]
https://xenomai.org/mailman/listinfo/xenomai

Reply via email to