commit | 4762bbc1a3a1f22095278b74dd1b8cee04858641 | [log] [tgz] |
---|---|---|
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | Mon May 24 14:33:31 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue May 25 08:07:06 2010 -0700 |
tree | d80314902f759a2ee1f6bb25384956021c4b2d04 | |
parent | 836e2af92503f1642dbc3c3281ec68ec1dd39d2e [diff] |
crc32: use __BYTE_ORDER macro for endian detection. Since crc32.c contains a nifty test program that can be executed in user space, make sure endian detection works reliably in user space too. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>