Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177948995
D29295.1795626967.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
3 KB
Referenced Files
None
Subscribers
None
D29295.1795626967.diff
View Options
diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c
--- a/sys/amd64/amd64/vm_machdep.c
+++ b/sys/amd64/amd64/vm_machdep.c
@@ -591,7 +591,7 @@
* 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));
diff --git a/sys/amd64/linux/linux_machdep.c b/sys/amd64/linux/linux_machdep.c
--- a/sys/amd64/linux/linux_machdep.c
+++ b/sys/amd64/linux/linux_machdep.c
@@ -118,7 +118,7 @@
}
int
-linux_set_upcall_kse(struct thread *td, register_t stack)
+linux_set_upcall(struct thread *td, register_t stack)
{
if (stack)
diff --git a/sys/amd64/linux32/linux32_machdep.c b/sys/amd64/linux32/linux32_machdep.c
--- a/sys/amd64/linux32/linux32_machdep.c
+++ b/sys/amd64/linux32/linux32_machdep.c
@@ -418,7 +418,7 @@
}
int
-linux_set_upcall_kse(struct thread *td, register_t stack)
+linux_set_upcall(struct thread *td, register_t stack)
{
if (stack)
diff --git a/sys/arm64/linux/linux_machdep.c b/sys/arm64/linux/linux_machdep.c
--- a/sys/arm64/linux/linux_machdep.c
+++ b/sys/arm64/linux/linux_machdep.c
@@ -52,7 +52,7 @@
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 @@
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);
}
diff --git a/sys/compat/linux/linux_fork.c b/sys/compat/linux/linux_fork.c
--- a/sys/compat/linux/linux_fork.c
+++ b/sys/compat/linux/linux_fork.c
@@ -205,7 +205,7 @@
* 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 @@
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;
diff --git a/sys/compat/linux/linux_misc.h b/sys/compat/linux/linux_misc.h
--- a/sys/compat/linux/linux_misc.h
+++ b/sys/compat/linux/linux_misc.h
@@ -181,7 +181,7 @@
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);
diff --git a/sys/i386/i386/vm_machdep.c b/sys/i386/i386/vm_machdep.c
--- a/sys/i386/i386/vm_machdep.c
+++ b/sys/i386/i386/vm_machdep.c
@@ -461,7 +461,7 @@
* 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));
diff --git a/sys/i386/linux/linux_machdep.c b/sys/i386/linux/linux_machdep.c
--- a/sys/i386/linux/linux_machdep.c
+++ b/sys/i386/linux/linux_machdep.c
@@ -314,7 +314,7 @@
}
int
-linux_set_upcall_kse(struct thread *td, register_t stack)
+linux_set_upcall(struct thread *td, register_t stack)
{
if (stack)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 25, 5:16 PM (17 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41995148
Default Alt Text
D29295.1795626967.diff (3 KB)
Attached To
Mode
D29295: Rename linux_set_upcall_kse() to linux_set_upcall().
Attached
Detach File
Event Timeline