On Tue, 4 December 2007 13:01:26 +0100, Andi Drebes wrote:
>
> +#ifdef __BIG_ENDIAN
> +/* Converts a cramfs_info from little endian to big endian. */
> +static inline void cramfs_convert_info_letobe(struct cramfs_info* info)
> +{
> + info->crc = swab32(info->crc);
> + info->edition = swab32(info->edition);
> + info->blocks = swab32(info->blocks);
> + info->files = swab32(info->files);
> +}
Can you remove the #ifdef and use le32_to_cpu() directly?
Jörn
--
Mundie uses a textbook tactic of manipulation: start with some
reasonable talk, and lead the audience to an unreasonable conclusion.
-- Bruce Perens
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html