optee: add res of cpumask_to_cpu0 and restore
authorsean.huang <sean.huang@rock-chips.com>
Sat, 27 May 2017 00:55:33 +0000 (08:55 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 31 May 2017 07:54:29 +0000 (15:54 +0800)
commit77c5eaeb6751a4616424695e53325767504b2a5f
tree1be39f0ca4f022e7b6118cd7f5e311da372fc478
parent6423a7e1a9c760c8245209e1ab98af696ffe441f
optee: add res of cpumask_to_cpu0 and restore

if res is error,break;

Change-Id: I4c8a11ae02fef2aa30849a94afcce3af5569bbeb
Signed-off-by: sean.huang <sean.huang@rock-chips.com>
(cherry picked from commit 36bc4c52281bb9f476dc22f8bbd6e35183fa7863)
Signed-off-by: Zhang Zhijie <zhangzj@rock-chips.com>
security/optee_linuxdriver/armtz/tee_tz_drv.c