Rename linux_set_upcall_kse() to linux_set_upcall().

This matches the rename of cpu_set_upcall_kse() in
5c2cf81845.

Reviewed by:	kib, emaste
MFC after:	1 week
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D29295
This commit is contained in:
John Baldwin 2021-03-18 12:14:34 -07:00
parent a7883464fc
commit 3b57ddb029
8 changed files with 12 additions and 12 deletions

View File

@ -591,7 +591,7 @@ cpu_copy_thread(struct thread *td, struct thread *td0)
* Copy user general-purpose registers.
*
* Some of these registers are rewritten by cpu_set_upcall()
* and linux_set_upcall_kse().
* and linux_set_upcall().
*/
bcopy(td0->td_frame, td->td_frame, sizeof(struct trapframe));

View File

@ -118,7 +118,7 @@ linux_execve(struct thread *td, struct linux_execve_args *args)
}
int
linux_set_upcall_kse(struct thread *td, register_t stack)
linux_set_upcall(struct thread *td, register_t stack)
{
if (stack)

View File

@ -418,7 +418,7 @@ linux_set_cloned_tls(struct thread *td, void *desc)
}
int
linux_set_upcall_kse(struct thread *td, register_t stack)
linux_set_upcall(struct thread *td, register_t stack)
{
if (stack)

View File

@ -52,7 +52,7 @@ __FBSDID("$FreeBSD$");
LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE);
/* DTrace probes */
LIN_SDT_PROBE_DEFINE0(machdep, linux_set_upcall_kse, todo);
LIN_SDT_PROBE_DEFINE0(machdep, linux_set_upcall, todo);
LIN_SDT_PROBE_DEFINE0(machdep, linux_mmap2, todo);
LIN_SDT_PROBE_DEFINE0(machdep, linux_rt_sigsuspend, todo);
LIN_SDT_PROBE_DEFINE0(machdep, linux_sigaltstack, todo);
@ -84,12 +84,12 @@ linux_execve(struct thread *td, struct linux_execve_args *uap)
return (error);
}
/* LINUXTODO: implement (or deduplicate) arm64 linux_set_upcall_kse */
/* LINUXTODO: implement (or deduplicate) arm64 linux_set_upcall */
int
linux_set_upcall_kse(struct thread *td, register_t stack)
linux_set_upcall(struct thread *td, register_t stack)
{
LIN_SDT_PROBE0(machdep, linux_set_upcall_kse, todo);
LIN_SDT_PROBE0(machdep, linux_set_upcall, todo);
return (EDOOFUS);
}

View File

@ -205,7 +205,7 @@ linux_clone_proc(struct thread *td, struct linux_clone_args *args)
* stack. This is what normal fork() does, so we just keep tf_rsp arg
* intact.
*/
linux_set_upcall_kse(td2, PTROUT(args->stack));
linux_set_upcall(td2, PTROUT(args->stack));
if (args->flags & LINUX_CLONE_SETTLS)
linux_set_cloned_tls(td2, args->tls);
@ -304,7 +304,7 @@ linux_clone_thread(struct thread *td, struct linux_clone_args *args)
cpu_thread_clean(newtd);
linux_set_upcall_kse(newtd, PTROUT(args->stack));
linux_set_upcall(newtd, PTROUT(args->stack));
PROC_LOCK(p);
p->p_flag |= P_HADTHREADS;

View File

@ -181,7 +181,7 @@ extern int stclohz;
int linux_ptrace_status(struct thread *td, int pid, int status);
#endif
void linux_to_bsd_waitopts(int options, int *bsdopts);
int linux_set_upcall_kse(struct thread *td, register_t stack);
int linux_set_upcall(struct thread *td, register_t stack);
int linux_set_cloned_tls(struct thread *td, void *desc);
struct thread *linux_tdfind(struct thread *, lwpid_t, pid_t);

View File

@ -461,7 +461,7 @@ cpu_copy_thread(struct thread *td, struct thread *td0)
* Copy user general-purpose registers.
*
* Some of these registers are rewritten by cpu_set_upcall()
* and linux_set_upcall_kse().
* and linux_set_upcall().
*/
bcopy(td0->td_frame, td->td_frame, sizeof(struct trapframe));

View File

@ -314,7 +314,7 @@ linux_set_cloned_tls(struct thread *td, void *desc)
}
int
linux_set_upcall_kse(struct thread *td, register_t stack)
linux_set_upcall(struct thread *td, register_t stack)
{
if (stack)