diff options
author | Dan Willemsen <dwillemsen@nvidia.com> | 2012-03-26 21:16:19 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 01:36:33 -0700 |
commit | 962404a0e05952f0d1c080e946a913de69447574 (patch) | |
tree | e3fb8db437b9778a87728297680363312cf2a3d5 /security | |
parent | 3f0c232e9b835bdbc5e2b96d80ff568ad74642a5 (diff) |
HACK: make TF compile
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Rebase-Id: R47b1b93daee445118009e4cadcdd815132926b01
Diffstat (limited to 'security')
-rw-r--r-- | security/tf_driver/tf_comm.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/security/tf_driver/tf_comm.c b/security/tf_driver/tf_comm.c index e71f37d79dc2..c401cf870fcd 100644 --- a/security/tf_driver/tf_comm.c +++ b/security/tf_driver/tf_comm.c @@ -1237,11 +1237,6 @@ static int tf_send_recv(struct tf_comm *comm, current->flags |= PF_KTHREAD; #endif -#ifdef CONFIG_FREEZER - saved_flags = current->flags; - current->flags |= PF_FREEZER_NOSIG; -#endif - /* * Read all answers from the answer queue */ @@ -1260,7 +1255,7 @@ copy_answers: dprintk(KERN_INFO "Entering refrigerator.\n"); - refrigerator(); + try_to_freeze(); dprintk(KERN_INFO "Left refrigerator.\n"); goto copy_answers; @@ -1410,11 +1405,6 @@ exit: wait_prepared = false; } -#ifdef CONFIG_FREEZER - current->flags &= ~(PF_FREEZER_NOSIG); - current->flags |= (saved_flags & PF_FREEZER_NOSIG); -#endif - return result; } |