Skip to content

Commit

Permalink
Merge pull request torvalds#182 from liuyuan10/freeirq
Browse files Browse the repository at this point in the history
lkl: set syscall_thread_data_key to NULL instead of tls_free
  • Loading branch information
Octavian Purdila authored Jul 25, 2016
2 parents 0d98292 + 49f2053 commit 35df18a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/lkl/kernel/syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ int lkl_stop_syscall_thread(void)
return -EINVAL;

ret = __lkl_stop_syscall_thread(data, true);
if (!ret && lkl_ops->tls_free)
lkl_ops->tls_free(syscall_thread_data_key);
if (!ret && lkl_ops->tls_set)
lkl_ops->tls_set(syscall_thread_data_key, NULL);
return ret;
}

Expand Down

0 comments on commit 35df18a

Please sign in to comment.