block: fix "BUG: using smp_processor_id() in preemptible code"

Source https://lkml.org/lkml/2011/7/26/6
Patch by Ming Lei
mali: fix build error.