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
..
2011-07-26 16:49:46 -07:00
2009-07-27 12:10:38 -07:00
2009-06-15 13:27:38 +10:00
2009-06-12 11:32:58 +02:00
2011-07-26 16:49:48 -07:00
2011-05-04 14:41:28 -04:00
2011-05-04 14:41:28 -04:00
2011-05-04 14:41:28 -04:00
2011-05-04 14:41:28 -04:00
2011-03-23 19:46:22 -07:00
2011-10-31 17:30:54 -07:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:50 +02:00
2011-05-25 08:39:37 -07:00
2011-11-01 07:34:21 -07:00
2010-10-07 14:08:55 +01:00
2012-01-06 08:44:54 -08:00
2009-06-11 21:02:37 +02:00
2011-07-22 18:45:33 +02:00
2009-07-22 00:28:38 +02:00
2010-08-11 08:59:21 -07:00
2011-10-31 17:30:44 -07:00
2009-06-11 21:02:42 +02:00
2011-03-17 13:08:27 -03:00
2009-06-11 21:02:37 +02:00
2011-08-19 13:25:34 -04:00
2011-03-17 09:19:04 +08:00
2011-03-11 12:23:31 +01:00
2012-01-04 11:37:42 -07:00
2010-10-07 14:08:55 +01:00
2009-06-11 21:02:42 +02:00
2012-01-10 18:04:27 -08:00
2011-02-17 14:16:30 -08:00
2011-11-28 21:12:42 +02:00
2010-12-17 15:07:19 +01:00
2009-06-11 21:02:37 +02:00
2010-10-07 14:08:55 +01:00
2010-08-14 22:26:51 +02:00
2010-08-14 22:26:51 +02:00
2010-10-09 21:51:44 +02:00
2010-05-25 08:07:03 -07:00
2009-06-11 21:02:37 +02:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-08-17 13:00:20 -07:00
2011-01-13 17:32:47 -08:00
2009-09-22 07:17:41 -07:00
2009-06-11 21:02:50 +02:00
2009-06-11 21:02:50 +02:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:37 +02:00
2012-01-10 17:39:40 -08:00
2011-12-13 09:26:45 +00:00
2009-06-11 21:02:42 +02:00
2012-01-31 23:19:47 +02:00
2011-07-12 11:13:07 -05:00
2010-03-12 15:52:42 -08:00
2009-09-09 13:29:18 -07:00
2010-09-10 10:56:51 +02:00
2009-06-11 21:02:50 +02:00
2009-07-27 12:10:38 -07:00
2009-07-27 12:10:38 -07:00
2011-06-15 20:04:00 -07:00
2012-02-14 12:47:21 -08:00
2011-05-26 17:12:36 -07:00
2011-05-25 08:39:43 -07:00
2009-06-11 21:02:18 +02:00
2011-11-01 07:34:20 -07:00
2010-05-27 09:12:54 -07:00
2011-03-08 17:22:11 +01:00
2009-06-11 21:02:50 +02:00
2009-06-11 21:02:42 +02:00
2011-03-31 11:26:23 -03:00
2011-03-17 09:19:04 +08:00
2011-11-09 16:01:02 -05:00
2009-06-11 21:02:37 +02:00
2010-11-01 15:31:29 -04:00
2010-08-09 16:48:44 -04:00
2009-06-11 21:02:37 +02:00
2009-09-22 19:56:50 -07:00
2010-08-18 12:12:38 -07:00
2011-07-25 20:57:14 -07:00
2010-08-10 13:47:39 -07:00
2009-06-11 21:02:42 +02:00
2012-01-12 20:13:08 -08:00
2009-06-11 21:02:50 +02:00
2010-08-09 20:44:57 -07:00
2012-01-03 22:55:17 -05:00
2011-10-06 19:47:12 -04:00
2009-06-11 21:02:37 +02:00
2011-12-03 15:31:48 -05:00
2011-03-01 15:49:39 +01:00
2009-06-11 21:02:42 +02:00
2011-10-24 21:00:34 +02:00
2011-05-20 12:50:29 -07:00