![]() |
|
|||
0001 // SPDX-License-Identifier: GPL-2.0 0002 #include <linux/sched.h> 0003 #include <asm/ptrace-abi.h> 0004 0005 void clear_flushed_tls(struct task_struct *task) 0006 { 0007 } 0008 0009 int arch_set_tls(struct task_struct *t, unsigned long tls) 0010 { 0011 /* 0012 * If CLONE_SETTLS is set, we need to save the thread id 0013 * so it can be set during context switches. 0014 */ 0015 t->thread.arch.fs = tls; 0016 0017 return 0; 0018 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |