Messages in this thread | | | Date | Tue, 23 Sep 2003 12:01:10 -0700 | From | "David S. Miller" <> | Subject | Re: NS83820 2.6.0-test5 driver seems unstable on IA64 |
| |
On Tue, 23 Sep 2003 21:09:47 +0200 Andreas Schwab <schwab@suse.de> wrote:
> The compiler is allowed to take advantage that there are no unaligned > accesses. You need to use compiler extensions (like attribute packed) to > stop it from doing this.
That's correct, and if the address is misaligned the cpu "traps" and the kernel fixes up the load/store access to fix it up.
This unaligned trap handling is required for a port of Linux to a given cpu architecture.
That's what we're talking about here. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |