On Mon, 14 Jun 2004, Oliver Neukum wrote:

> Am Montag, 14. Juni 2004 23:05 schrieb Alan Stern:
> > 
> > Is there an easy way to do this without also paying the alignment penalty 
> > on platforms that don't require it (or even just on x86)?  Or should we 
> > simply accept the wasted space?
> 
> A conditionally defined gcc attribute should be able to do it.
> Like __user, but not defined to nothing on architectures that require it.

The trick is how to recognize which architectures require it.  Just assume 
that the alignment is needed whenever CONFIG_X86 isn't set?

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to