ARM: rockchip: Add workaround for unknown write of thread_info
authorHuang, Tao <huangtao@rock-chips.com>
Thu, 18 May 2017 02:51:27 +0000 (10:51 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 18 May 2017 03:33:04 +0000 (11:33 +0800)
commit850b23f6ba9affb949918a8f670ef0a1606c42a2
tree2d606d00517a7dd564d7d09fa367ec2149a090a6
parent7557d060d41d645fae85557a6bd8973b76f9fa66
ARM: rockchip: Add workaround for unknown write of thread_info

We see the cpu of thread_info was changed by unknown reason sometimes,
which cause rq spinlock deadlock while schedule. Until we found the
root cause, we have to add this workaround.

Change-Id: Ib943ccb47a57fe4b267a1da853366363cd7f1f52
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
arch/arm/include/asm/thread_info.h