Messages in this thread | | | Date | Sun, 23 Nov 2008 10:28:36 +0100 | From | Sebastian Andrzej Siewior <> | Subject | Re: [PATCH] UBIFS: endian handling fixes and annotations |
| |
* 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
| |