forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/arch/um/include/asm/ptrace-generic.h
....@@ -1,6 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0 */
12 /*
23 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
3
- * Licensed under the GPL
44 */
55
66 #ifndef __UM_PTRACE_GENERIC_H
....@@ -36,7 +36,7 @@
3636 extern unsigned long getreg(struct task_struct *child, int regno);
3737 extern int putreg(struct task_struct *child, int regno, unsigned long value);
3838
39
-extern int arch_copy_tls(struct task_struct *new);
39
+extern int arch_set_tls(struct task_struct *new, unsigned long tls);
4040 extern void clear_flushed_tls(struct task_struct *task);
4141 extern int syscall_trace_enter(struct pt_regs *regs);
4242 extern void syscall_trace_leave(struct pt_regs *regs);