clear interrupt status before install irq
authorHong Liu <hong.liu@intel.com>
Fri, 18 Apr 2008 08:49:23 +0000 (16:49 +0800)
committerJesse Barnes <jbarnes@jbarnes-t61.(none)>
Wed, 23 Apr 2008 01:34:11 +0000 (18:34 -0700)
commit8a390e058fcea70b0c3a912543816bdf4c3e7c4c
tree3b0b547cd44364ba82bd0ac29215a00a617a0510
parentc250104c8f81026b4191ec8b2a709ff7ab5baedb
clear interrupt status before install irq

On my 865G machine, it seems the CPU will receive interrupt before
irq_postinstall is called. This will cause kernel oops because vblank is not
inited at that time. Clear interrupt status before install seems fixing this
problem.

Signed-off-by: Hong Liu <hong.liu@intel.com>
shared-core/i915_irq.c