Re: asm/segment.h?

From: Zachary Amsden
Date: Tue Aug 16 2005 - 16:43:12 EST


Kumar Gala wrote:

Looking at some architectures it appears that asm/uaccess.h should be used instead of asm/segment.h. Is this generally true that code in segment.h should be moved into uaccess.h or is it still valid for an architecture to have segment.h?


At least in i386, segment.h can be included by userspace programs, and although it really is the user include maintainers that should sort that out, moving segment.h into uaccess.h makes that job more tedious.

It looks like the proper thing to do for ppc is to deprecate segment.h entirely.

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