.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) |
---|
3 | | - * Licensed under the GPL |
---|
4 | 4 | */ |
---|
5 | 5 | |
---|
6 | 6 | #ifndef __UM_PTRACE_GENERIC_H |
---|
.. | .. |
---|
36 | 36 | extern unsigned long getreg(struct task_struct *child, int regno); |
---|
37 | 37 | extern int putreg(struct task_struct *child, int regno, unsigned long value); |
---|
38 | 38 | |
---|
39 | | -extern int arch_copy_tls(struct task_struct *new); |
---|
| 39 | +extern int arch_set_tls(struct task_struct *new, unsigned long tls); |
---|
40 | 40 | extern void clear_flushed_tls(struct task_struct *task); |
---|
41 | 41 | extern int syscall_trace_enter(struct pt_regs *regs); |
---|
42 | 42 | extern void syscall_trace_leave(struct pt_regs *regs); |
---|