-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Dienstag, 15. Juni 2004 18:14 schrieb Alan Stern: > 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?
For starters, why not? Architectures can always refine it. Regards Oliver -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAz26nbuJ1a+1Sn8oRAv/QAKCjzLpJKL9ltYrwMnZWqOKeRDwFqACePMUe XzvCp8MpuCOJ/nA9Of3k1+g= =MDxU -----END PGP SIGNATURE----- ------------------------------------------------------- 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