Re: [ANNOUNCE] 4.0.4-rt1

From: Steven Rostedt
Date: Tue May 26 2015 - 09:38:46 EST


On Tue, 26 May 2015 08:34:49 -0500
Clark Williams <williams@xxxxxxxxxx> wrote:

> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index f75173c20f47..f532b22f56ba 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -9745,7 +9745,9 @@ void intel_check_page_flip(struct drm_device *dev, int pipe)
> struct drm_crtc *crtc = dev_priv->pipe_to_crtc_mapping[pipe];
> struct intel_crtc *intel_crtc = to_intel_crtc(crtc);
>
> +#ifndef CONFIG_PREEMPT_RT_FULL
> WARN_ON(!in_interrupt());
> +#endif

Or just use our special WARN_ON() functions...


WARN_ON_NONRT(!in_interrupt());

-- Steve

>
> if (crtc == NULL)
> return;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/