https://github.com/torvalds/linux
Revision 3cd8519248e9e17d982c6fab0f1a89bca6feb49a authored by Johannes Berg on 16 June 2010, 00:09:35 UTC, committed by Benjamin Herrenschmidt on 08 July 2010, 08:11:44 UTC
When SPARSE_IRQ is set, irq_to_desc() can
return NULL. While the code here has a
check for NULL, it's not really correct.
Fix it by separating the check for it.

This fixes CPU hot unplug for me.

Reported-by: Alastair Bridgewater <alastair.bridgewater@gmail.com>
Cc: stable@kernel.org [2.6.32+]
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
1 parent d3005fb
History
Tip revision: 3cd8519248e9e17d982c6fab0f1a89bca6feb49a authored by Johannes Berg on 16 June 2010, 00:09:35 UTC
powerpc: Fix logic error in fixup_irqs
Tip revision: 3cd8519
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 170.3 KB
Makefile -rw-r--r-- 50.1 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top