H. Peter Anvin
8b3d1cda4f
posix_types: Remove fd_set macros
...
<asm/posix_types.h> includes a set of macros that operate on file
descriptors. Way long ago those were exported to user space, but
nowadays they are #ifdef __KERNEL__.
However, they are nothing but standard (nonatomic) bit operations, and
we already have optimized versions of bit operations in the kernel.
We can't include <linux/bitops.h> in <asm/posix_types.h> but we can
move the definitions to <linux/time.h> and define them there in terms
of standard kernel bitops.
[ v2: folds the following fixes in:
a) Stray space in __FD_SET(), reported by Andrew Morton
b) #include <linux/string.h> needed for memset(), reported by Tony Luck ]
Signed-off-by: H. Peter Anvin <hpa@zytor.com >
Link: http://lkml.kernel.org/r/1328677745-20121-22-git-send-email-hpa@zytor.com
Cc: Arnd Bergmann <arnd@arndb.de >
Cc: Tony Luck <tony.luck@intel.com >
Cc: Andrew Morton <akpm@linux-foundation.org >
2012-02-14 12:47:21 -08:00
..
2012-01-17 18:40:24 -08:00
2012-01-17 09:54:08 -05:00
2012-01-09 00:37:40 +01:00
2012-01-13 09:32:20 +10:30
2012-02-03 19:03:44 +01:00
2012-01-22 15:08:43 -05:00
2012-01-14 12:32:16 -08:00
2012-02-04 07:17:47 -08:00
2012-01-16 14:01:23 +01:00
2012-01-09 14:21:03 -08:00
2012-01-14 12:26:41 -08:00
2012-01-24 15:41:51 +02:00
2012-01-17 04:35:20 -05:00
2012-01-18 15:51:48 -08:00
2012-01-08 19:14:59 -05:00
2012-01-17 16:17:03 -05:00
2012-02-06 15:15:20 -08:00
2012-01-13 08:15:33 +01:00
2012-01-15 12:24:45 -08:00
2012-01-14 18:36:33 -08:00
2012-01-09 12:59:24 -08:00
2012-01-10 16:30:42 -08:00
2012-01-10 16:30:42 -08:00
2012-01-13 09:32:20 +10:30
2012-01-07 12:03:30 -08:00
2012-01-18 15:51:48 -08:00
2012-01-12 20:13:11 -08:00
2012-01-13 10:29:21 -08:00
2012-01-08 12:19:57 -08:00
2012-01-24 10:47:41 -08:00
2012-01-18 10:46:21 +11:00
2012-01-12 20:13:04 -08:00
2012-01-29 20:35:52 +01:00
2012-01-23 17:17:45 -08:00
2012-01-07 17:26:49 -05:00
2012-01-10 16:30:43 -08:00
2012-01-11 09:23:05 +00:00
2012-02-01 09:13:11 -08:00
2012-01-09 11:24:59 +01:00
2012-01-12 20:13:08 -08:00
2012-01-06 11:42:52 -08:00
2012-01-24 15:51:00 -05:00
2012-01-11 12:56:06 -08:00
2012-01-09 12:59:24 -08:00
2012-01-13 09:32:18 +10:30
2012-01-09 13:06:28 +01:00
2012-01-09 13:52:09 +01:00
2012-01-12 20:13:03 -08:00
2012-01-23 08:38:48 -08:00
2012-01-19 16:17:35 +11:00
2012-01-12 20:13:11 -08:00
2012-01-17 15:40:51 -08:00
2012-01-10 16:30:49 -08:00
2012-01-12 20:13:03 -08:00
2012-02-02 15:43:40 -08:00
2012-01-12 20:13:07 -08:00
2012-01-10 16:30:45 -08:00
2012-01-23 08:38:47 -08:00
2012-01-23 08:38:47 -08:00
2012-01-13 10:12:23 -08:00
2012-01-12 20:13:10 -08:00
2012-01-12 20:13:03 -08:00
2012-01-11 19:12:10 -08:00
2012-01-12 20:13:10 -08:00
2012-01-20 17:38:58 +00:00
2012-01-13 09:32:14 +10:30
2012-01-13 09:32:28 +10:30
2012-02-02 00:23:14 +11:00
2012-01-06 12:10:25 -08:00
2012-01-09 14:46:52 -08:00
2012-01-07 13:22:46 -05:00
2012-01-07 13:22:46 -05:00
2012-01-07 12:18:52 -08:00
2012-01-12 20:13:06 -08:00
2012-01-12 20:13:07 -08:00
2012-01-10 16:30:42 -08:00
2012-01-12 20:13:10 -08:00
2012-01-06 12:11:40 -08:00
2012-01-11 18:50:26 -08:00
2012-01-06 12:10:26 -08:00
2012-01-06 12:15:21 -08:00
2012-01-27 12:06:39 +01:00
2012-01-12 15:23:04 -08:00
2012-01-10 16:30:54 -08:00
2012-01-12 20:05:28 -08:00
2012-01-08 13:10:57 -08:00
2012-02-04 22:23:17 +01:00
2012-01-12 20:13:13 -08:00
2012-01-10 16:30:54 -08:00
2012-01-17 16:41:31 -08:00
2012-01-12 13:09:09 +01:00
2012-01-12 20:13:12 -08:00
2012-01-06 23:20:13 -05:00
2012-01-06 23:20:13 -05:00
2012-01-22 15:08:46 -05:00
2012-01-12 20:13:06 -08:00
2012-02-02 12:55:17 -08:00
2012-01-14 18:36:33 -08:00
2012-01-14 13:05:21 -08:00
2012-02-01 22:23:53 +05:30
2012-01-09 09:33:57 +09:00
2012-01-23 08:38:48 -08:00
2012-01-10 16:30:54 -08:00
2012-01-09 14:19:33 -08:00
2012-01-22 15:08:44 -05:00
2012-01-19 23:25:33 +01:00
2012-01-23 08:38:48 -08:00
2012-01-23 03:15:25 -05:00
2012-02-14 12:47:21 -08:00
2012-01-17 10:30:38 -08:00
2012-01-08 13:21:22 -08:00
2012-01-24 12:25:14 -08:00
2012-01-15 12:49:56 -08:00
2012-01-12 15:44:42 +10:30
2012-01-12 15:44:44 +10:30
2012-01-10 16:30:54 -08:00
2012-01-10 16:59:59 -08:00