diff options
| author | Yinghai Lu <[email protected]> | 2010-10-30 08:19:29 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2010-10-30 08:28:31 +0000 |
| commit | 7b79462a20826a7269322113c68ca78d5f67c0bd (patch) | |
| tree | ae873a15bd5fbf47c2d75e26ebe84767ab1c94be /drivers/oprofile/timer_int.c | |
| parent | Merge branches 'x86-fixes-for-linus' and 'x86-uv-for-linus' of git://git.kern... (diff) | |
| download | kernel-7b79462a20826a7269322113c68ca78d5f67c0bd.tar.gz kernel-7b79462a20826a7269322113c68ca78d5f67c0bd.zip | |
x86: Check irq_remapped instead of remapping_enabled in destroy_irq()
Russ Anderson reported:
| There is a regression that is causing a NULL pointer dereference
| in free_irte when shutting down xpc. git bisect narrowed it down
| to git commit d585d06(intr_remap: Simplify the code further), which
| changed free_irte(). Reverse applying the patch fixes the problem.
We need to use irq_remapped() for each irq instead of checking only
intr_remapping_enabled as there might be non remapped irqs even when
remapping is enabled.
[ tglx: use cfg instead of retrieving it again. Massaged changelog ]
Reported-bisected-and-tested-by: Russ Anderson <[email protected]>
Signed-off-by: Yinghai Lu <[email protected]>
Cc: Suresh Siddha <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'drivers/oprofile/timer_int.c')
0 files changed, 0 insertions, 0 deletions
