diff options
author | Jens Axboe <axboe@fb.com> | 2014-03-10 14:29:37 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-03-10 14:32:47 -0600 |
commit | 7f328908f9cb69a72ce1c9279508c786cf85f1f5 (patch) | |
tree | 40197f81ae9105892da4e7d469cd9cee4e291f50 /virt/kvm | |
parent | 10beafc190abcc4ad64024a053441520ba116127 (diff) |
mtip32xx: fix bad use of smp_processor_id()
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>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions