lkml.org 
[lkml]   [1999]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] some Alpha cleanups
Date
> In the ide_disk.c: forcing int pointer to the location known
> to be unaligned looks ugly for me (and for alpha too :) and
> causes unaligned trap. I suggest the following patch (or use
> macros from asm/unaligned.h instead)

Can I suggest something different for all these cases. You can tell
egcs something is packed and may not be suitably aligned as an attribute.
Use that instead. Let the compiler do the brainwork.

> on alpha (it was already done in the tulip driver) until we
> find a better solution (maybe use get/put_unaligned in the
> ip_rcv?). Here is the patch for eepro100, which I currently

Its too slow doing this. Don't inflict damage on the major platforms
because the Alpha has some problems with alignment. Again this is where
the alignment hints of egcs will help

Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.034 / U:0.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site