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.
Fix wrong number of endif. (Bad merge?)
Fix compilation error when no power management is configured in the kernel
Fix bad merge
Merge pull request #5 from zehome/odroid-ed-3.0.y

Merge from zehome/odroid-ed-3.0.y
Merge pull request #6 from rzk/odroid-3.0.y

Mali-400 build and usage of SMP code in preemptible code fixes.
smsc95xx: Add module parameter to override MAC address