X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=drivers%2Ftarget%2Ftarget_core_iblock.c;h=a526f9678c34bde71d001f3896d2ff201861ea50;hb=494b99f712d00fee7e0927067081954fc493b6d9;hp=d6fdd1c61f90374957a2bdff0abb26b94f894abf;hpb=5dce58de4be8a4c9f2af3beed3ee9813933a0583;p=linux-2.6-microblaze.git diff --git a/drivers/target/target_core_iblock.c b/drivers/target/target_core_iblock.c index d6fdd1c61f90..a526f9678c34 100644 --- a/drivers/target/target_core_iblock.c +++ b/drivers/target/target_core_iblock.c @@ -204,11 +204,11 @@ static struct se_dev_plug *iblock_plug_device(struct se_device *se_dev) struct iblock_dev_plug *ib_dev_plug; /* - * Each se_device has a per cpu work this can be run from. Wwe + * Each se_device has a per cpu work this can be run from. We * shouldn't have multiple threads on the same cpu calling this * at the same time. */ - ib_dev_plug = &ib_dev->ibd_plug[smp_processor_id()]; + ib_dev_plug = &ib_dev->ibd_plug[raw_smp_processor_id()]; if (test_and_set_bit(IBD_PLUGF_PLUGGED, &ib_dev_plug->flags)) return NULL;