summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2016-01-26 06:05:55 +0000
committerdchagin <dchagin@FreeBSD.org>2016-01-26 06:05:55 +0000
commit1b8c6467ee7b57c1090123c45dc10ec8618cc071 (patch)
tree7552b6adc7bc4168898f3875ff7c8800f33a41ba
parentbe9764f2dc77a9a48f82fcacd3441b35f54a2680 (diff)
downloadFreeBSD-src-1b8c6467ee7b57c1090123c45dc10ec8618cc071.zip
FreeBSD-src-1b8c6467ee7b57c1090123c45dc10ec8618cc071.tar.gz
MFC r294620:
Fix a typo. MFC r294621: Remove obsolete comment.
-rw-r--r--sys/amd64/linux/linux.h4
-rw-r--r--sys/amd64/linux/linux_machdep.c1
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/amd64/linux/linux.h b/sys/amd64/linux/linux.h
index c4fe9ae..639499a 100644
--- a/sys/amd64/linux/linux.h
+++ b/sys/amd64/linux/linux.h
@@ -530,8 +530,8 @@ struct l_pollfd {
#define LINUX_ARCH_SET_GS 0x1001
#define LINUX_ARCH_SET_FS 0x1002
-#define LINUX_ARCH_GET_GS 0x1003
-#define LINUX_ARCH_GET_FS 0x1004
+#define LINUX_ARCH_GET_FS 0x1003
+#define LINUX_ARCH_GET_GS 0x1004
#define linux_copyout_rusage(r, u) copyout(r, u, sizeof(*r))
diff --git a/sys/amd64/linux/linux_machdep.c b/sys/amd64/linux/linux_machdep.c
index d6174e6..9664dac 100644
--- a/sys/amd64/linux/linux_machdep.c
+++ b/sys/amd64/linux/linux_machdep.c
@@ -383,7 +383,6 @@ linux_sigaltstack(struct thread *td, struct linux_sigaltstack_args *uap)
return (error);
}
-/* XXX do all */
int
linux_arch_prctl(struct thread *td, struct linux_arch_prctl_args *args)
{
OpenPOWER on IntegriCloud