svn commit: r319057 - head/sys/amd64/linux
Dmitry Chagin
dchagin at FreeBSD.org
Sun May 28 08:46:59 UTC 2017
Author: dchagin
Date: Sun May 28 08:46:57 2017
New Revision: 319057
URL: https://svnweb.freebsd.org/changeset/base/319057
Log:
In r246085 some bits that are MI movied out into headers in compat/linux,
but I missed that when I commited x86_64 Linuxulator. So remove the duplicates.
MFC after: 1 week
Modified:
head/sys/amd64/linux/linux.h
Modified: head/sys/amd64/linux/linux.h
==============================================================================
--- head/sys/amd64/linux/linux.h Sun May 28 08:46:41 2017 (r319056)
+++ head/sys/amd64/linux/linux.h Sun May 28 08:46:57 2017 (r319057)
@@ -101,9 +101,6 @@ typedef struct {
/*
* Miscellaneous
*/
-#define LINUX_NAME_MAX 255
-#define LINUX_CTL_MAXNAME 10
-
#define LINUX_AT_COUNT 19 /* Count of used aux entry types. */
struct l___sysctl_args
@@ -117,11 +114,6 @@ struct l___sysctl_args
l_ulong __spare[4];
};
-/* Scheduling policies */
-#define LINUX_SCHED_OTHER 0
-#define LINUX_SCHED_FIFO 1
-#define LINUX_SCHED_RR 2
-
/* Resource limits */
#define LINUX_RLIMIT_CPU 0
#define LINUX_RLIMIT_FSIZE 1
@@ -456,20 +448,6 @@ struct l_pollfd {
l_short revents;
};
-
-#define LINUX_CLONE_VM 0x00000100
-#define LINUX_CLONE_FS 0x00000200
-#define LINUX_CLONE_FILES 0x00000400
-#define LINUX_CLONE_SIGHAND 0x00000800
-#define LINUX_CLONE_PID 0x00001000 /* No longer exist in Linux */
-#define LINUX_CLONE_VFORK 0x00004000
-#define LINUX_CLONE_PARENT 0x00008000
-#define LINUX_CLONE_THREAD 0x00010000
-#define LINUX_CLONE_SETTLS 0x00080000
-#define LINUX_CLONE_PARENT_SETTID 0x00100000
-#define LINUX_CLONE_CHILD_CLEARTID 0x00200000
-#define LINUX_CLONE_CHILD_SETTID 0x01000000
-
#define LINUX_ARCH_SET_GS 0x1001
#define LINUX_ARCH_SET_FS 0x1002
#define LINUX_ARCH_GET_FS 0x1003
More information about the svn-src-head
mailing list