diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-11-14 12:18:07 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-11-14 12:18:54 -0500 |
commit | 74af283102b358b0da545460d0d176f473e110f6 (patch) | |
tree | 5f5fc2faea5c40f6b597d6237ffa3f4a2e0585f4 /drivers/s390/block | |
parent | 85acc407bf1c49fb40b8f461c2c7526af736d87e (diff) |
[S390] cpu topology: fix locking
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: stable@kernel.org
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>
Diffstat (limited to 'drivers/s390/block')
0 files changed, 0 insertions, 0 deletions