]> git.baikalelectronics.ru Git - kernel.git/commit
megaraid_sas: use raw_smp_processor_id()
authorChristoph Hellwig <hch@infradead.org>
Wed, 15 Apr 2015 16:44:37 +0000 (09:44 -0700)
committerJames Bottomley <JBottomley@Odin.com>
Thu, 16 Apr 2015 17:37:58 +0000 (10:37 -0700)
commitba081e1a74cae03fcd68105e2b1d35a1c0cb6338
treed937083867262ee5fcc1b13e75a37b3164a1f069
parentadda71003c9bb8244f955d1e70605b996c48b1ac
megaraid_sas: use raw_smp_processor_id()

We only want to steer the I/O completion towards a queue, but don't
actually access any per-CPU data, so the raw_ version is fine to use
and avoids the warnings when using smp_processor_id().

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Andy Lutomirski <luto@kernel.org>
Tested-by: Andy Lutomirski <luto@kernel.org>
Acked-by: Sumit Saxena <sumit.saxena@avagotech.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/megaraid/megaraid_sas_fusion.c