summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linux/linux_misc.c')
-rw-r--r--sys/compat/linux/linux_misc.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
index e5193226aab81..df2989f15be21 100644
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -1547,17 +1547,6 @@ linux_reboot(struct thread *td, struct linux_reboot_args *args)
}
-/*
- * The FreeBSD native getpid(2), getgid(2) and getuid(2) also modify
- * td->td_retval[1] when COMPAT_43 is defined. This clobbers registers that
- * are assumed to be preserved. The following lightweight syscalls fixes
- * this. See also linux_getgid16() and linux_getuid16() in linux_uid16.c
- *
- * linux_getpid() - MP SAFE
- * linux_getgid() - MP SAFE
- * linux_getuid() - MP SAFE
- */
-
int
linux_getpid(struct thread *td, struct linux_getpid_args *args)
{