Re: [PATCH 6/14] i386 / Add some segment convenience functions

From: Andi Kleen
Date: Tue Aug 16 2005 - 18:46:32 EST


On Wed, Aug 10, 2005 at 09:54:31PM -0700, zach@xxxxxxxxxx wrote:
> Add some convenient segment macros to the kernel. This makes the
> rather obfuscated 'seg & 4' go away.

segment_from_ldt is a weird name for this. I wouldn't guess it to
be a test for something. How about is_ldt_segment() instead?

-Andi
-
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/