Merge branch 'for-linus' of git://git.kernel.dk/linux-block
* 'for-linus' of git://git.kernel.dk/linux-block: block: fix warning with calling smp_processor_id() in preemptible section
This commit is contained in:
commit
a93a132927
1 changed files with 1 additions and 1 deletions
|
@ -1283,7 +1283,7 @@ static int __make_request(struct request_queue *q, struct bio *bio)
|
|||
|
||||
if (test_bit(QUEUE_FLAG_SAME_COMP, &q->queue_flags) ||
|
||||
bio_flagged(bio, BIO_CPU_AFFINE))
|
||||
req->cpu = smp_processor_id();
|
||||
req->cpu = raw_smp_processor_id();
|
||||
|
||||
plug = current->plug;
|
||||
if (plug) {
|
||||
|
|
Loading…
Add table
Reference in a new issue