diff options
| author | 2015-09-26 12:23:56 +0100 | |
|---|---|---|
| committer | 2015-10-01 12:18:13 +0200 | |
| commit | 95c2b17534654829db428f11bcf4297c059a2a7e (patch) | |
| tree | aea31e60108daabb0efa0342ba302109d22ca70e /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
| parent | irqchip/atmel-aic5: Use per chip mask caches in mask/unmask() (diff) | |
| download | linux-dev-95c2b17534654829db428f11bcf4297c059a2a7e.tar.xz linux-dev-95c2b17534654829db428f11bcf4297c059a2a7e.zip | |
genirq: Fix race in register_irq_proc()
Per-IRQ directories in procfs are created only when a handler is first
added to the irqdesc, not when the irqdesc is created. In the case of
a shared IRQ, multiple tasks can race to create a directory. This
race condition seems to have been present forever, but is easier to
hit with async probing.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Link: http://lkml.kernel.org/r/1443266636.2004.2.camel@decadent.org.uk
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions
