summaryrefslogtreecommitdiffstats
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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
index 605b6ed..5be79bd 100644
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -1284,6 +1284,8 @@ linux_reboot(struct thread *td, struct linux_reboot_args *args)
return (reboot(td, &bsd_args));
}
+#ifndef __alpha__
+
/*
* The FreeBSD native getpid(2), getgid(2) and getuid(2) also modify
* td->td_retval[1] when COMPAT_43 or COMPAT_SUNOS is defined. This
@@ -1320,6 +1322,8 @@ linux_getuid(struct thread *td, struct linux_getuid_args *args)
return (0);
}
+#endif /*!__alpha__*/
+
int
linux_getsid(struct thread *td, struct linux_getsid_args *args)
{
OpenPOWER on IntegriCloud