public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* asm/segment.h?
@ 2005-08-16 21:28 Kumar Gala
  2005-08-16 21:42 ` asm/segment.h? Zachary Amsden
  0 siblings, 1 reply; 2+ messages in thread
From: Kumar Gala @ 2005-08-16 21:28 UTC (permalink / raw)
  To: linux-kernel list

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?

I'm cleaning up arch/ppc and arch/ppc64 and was wondering about  
everyone else.

- kumar

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: asm/segment.h?
  2005-08-16 21:28 asm/segment.h? Kumar Gala
@ 2005-08-16 21:42 ` Zachary Amsden
  0 siblings, 0 replies; 2+ messages in thread
From: Zachary Amsden @ 2005-08-16 21:42 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linux-kernel list

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-16 21:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-16 21:28 asm/segment.h? Kumar Gala
2005-08-16 21:42 ` asm/segment.h? Zachary Amsden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox