Re: [PATCH] UBIFS: endian handling fixes and annotations
From: Sebastian Andrzej Siewior
Date: Sun Nov 23 2008 - 04:28:52 EST
* Harvey Harrison | 2008-11-22 19:21:29 [-0800]:
>Nope, no difference, cpu_to_le32 does constant-detection these days and
>so there ends up being no difference.
Indeed. __builtin_constant_p() does the trick. So I guess we could get
rid of __constant_cpu_to_XX32() and its
| grep -RE __constant_cpu_to_[bl]e32 . | wc -l
| 413
users.
>
>Harvey
>
Sebastian
--
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/