Re: WARNING: amd_iommu. linux-4.4.1-rt6

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

 



On Sat, 27 Feb 2016, Thomas Gleixner wrote:
> --- a/drivers/iommu/amd_iommu.c
> +++ b/drivers/iommu/amd_iommu.c
> @@ -1952,10 +1952,10 @@ static int __attach_device(struct iommu_
>  	int ret;
>  
>  	/*
> -	 * Must be called with IRQs disabled. Warn here to detect early
> -	 * when its not.
> +	 * Must be called with IRQs disabled on a non RT kernel. Warn here to
> +	 * detect early when its not.
>  	 */
> -	WARN_ON(!irqs_disabled());
> +	WARN_ON_NORT(!irqs_disabled());

That wants to be

+	WARN_ON_NONRT(!irqs_disabled());

of course.

-ENOTAWAKEYET
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux