i2c: rockchip: fix using smp_processor_id() in preemptible warning
author黄涛 <huangtao@rock-chips.com>
Fri, 13 Jun 2014 07:22:58 +0000 (15:22 +0800)
committer黄涛 <huangtao@rock-chips.com>
Fri, 13 Jun 2014 07:25:29 +0000 (15:25 +0800)
commite4cb1d6d7e6298e3c2ecc0da65e8821885c1fdbc
tree7ed1706964fe21e6e6ad37089efc73dd53fa56bd
parentbf2c6f36344c92907e38564e763e7cd5097bed39
i2c: rockchip: fix using smp_processor_id() in preemptible warning

Fix this warning when DEBUG_PREEMPT is selected:
BUG: using smp_processor_id() in preemptible [00000000] code: cfinteractive/72
caller is rockchip_i2c_doxfer+0x58/0x3cc
drivers/i2c/busses/i2c-rockchip.c