git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10beafc
)
mtip32xx: fix bad use of smp_processor_id()
author
Jens Axboe
<axboe@fb.com>
Mon, 10 Mar 2014 20:29:37 +0000
(14:29 -0600)
committer
Jens Axboe
<axboe@fb.com>
Mon, 10 Mar 2014 20:32:47 +0000
(14:32 -0600)
mtip_pci_probe() dumps the current CPU when loaded, but it does
so in a preemptible context. Hence smp_processor_id() correctly
warns:
BUG: using smp_processor_id() in preemptible [
00000000
] code: systemd-udevd/155
caller is mtip_pci_probe+0x53/0x880 [mtip32xx]
Switch to raw_smp_processor_id(), since it's just informational
and persistent accuracy isn't important.
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/mtip32xx/mtip32xx.c
patch
|
blob
|
history
diff --cc
drivers/block/mtip32xx/mtip32xx.c
Simple merge