Re: [PATCH 21/21] posix_types: Remove fd_set macros

From: David Howells
Date: Wed Feb 08 2012 - 07:20:34 EST


H. Peter Anvin <hpa@xxxxxxxxx> wrote:

> 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.

Why linux/time.h? Why not linux/poll.h? That would seem a more appropriate
place for them.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/