Re: [PATCH] ubi: kill homegrown endian macros

From: Jeremy Fitzhardinge
Date: Thu May 17 2007 - 16:19:05 EST


Christoph Hellwig wrote:
> The attribute syntax is perfecltly
> find to address endianess issues without introducing wrapper structs the
> lead to horrible code generation in some situations (e.g. trying to return
> such a value)

Small structs are returned in register; it is indistinguishable from
returning a scalar.

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