Messages in this thread | | | From | (Alan Cox) | Subject | Re: [PATCH] some Alpha cleanups | Date | Sat, 23 Jan 1999 22:43:18 +0000 (GMT) |
| |
> 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/
| |