1
0
Fork 0
alistair23-linux/drivers/block/mtip32xx
Jens Axboe 7f328908f9 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>
2014-03-10 14:32:47 -06:00
..
Kconfig Remove GENERIC_HARDIRQ config option 2013-09-13 15:09:52 +02:00
Makefile block: Add driver for Micron RealSSD pcie flash cards 2011-11-05 08:35:10 +01:00
mtip32xx.c mtip32xx: fix bad use of smp_processor_id() 2014-03-10 14:32:47 -06:00
mtip32xx.h mtip32xx: Reduce the number of unaligned writes to 2 2014-02-18 14:49:17 -08:00