diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-11-14 18:18:07 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-11-20 14:54:49 -0800 |
commit | 65347ce15fb47f3aa58107be55ec00fa6f1eda22 (patch) | |
tree | 19360e971f482bc48f57ea95ec5d519a66ad3503 /drivers/acpi/scan.c | |
parent | d12a87b8e4b2b1a830f248d2b76a2943effbea92 (diff) |
S390: cpu topology: fix locking
commit 74af283102b358b0da545460d0d176f473e110f6 upstream.
cpu_coregroup_map used to grab a mutex on s390 since it was only
called from process context.
Since c7c22e4d5c1fdebfac4dba76de7d0338c2b0d832 "block: add support
for IO CPU affinity" this is not true anymore.
It now also gets called from softirq context.
To prevent possible deadlocks change this in architecture code and
use a spinlock instead of a mutex.
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/acpi/scan.c')
0 files changed, 0 insertions, 0 deletions