>
> Jeff Mahoney wrote:
>
> > Are the S/390 asm/unaligned.h versions broken, or is the ReiserFS code
> doing
> > something not planned for? It's a 16-bit member, at a 16-bit alignment
> > in the structure. The structure itself need not be aligned in any
> > particular manner as it is read directly from disk, and is a packed
> structure.
>
> The S/390 unaligned.h macros are just direct assignments because the
> S/390 hardware normally *allows* unaligned accesses just fine.
>
> It is only *atomic* accesses (those implemented using the S/390
> compare-and-swap instruction) that need to be word aligned; this includes
> the atomic bit operations that reiserfs appears to be using.
Aren't their some other "must align" instructions like CVB? Or have they
all been relaxed...
john
-
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/