Re: [PATCH v2 2/4] sparc64: Migrate hvcons irq to panicked cpu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Vijay Kumar <vijay.ac.kumar@xxxxxxxxxx>
Date: Fri, 11 Nov 2016 10:11:57 -0800

> @@ -1444,8 +1444,12 @@ void smp_send_stop(void)
>  	int cpu;
>  
>  	if (tlb_type == hypervisor) {
> +		int this_cpu = smp_processor_id();
> +
> +		sunhv_migrate_hvcons_irq(this_cpu);
> +

You can't unconditionally call into code that might be configured
out by a Kconfig option, as you are doing here.

If SERIAL_SUNHV=n this change will thus result in a build error.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux