]> git.baikalelectronics.ru Git - kernel.git/commit
revert "crc32: use __BYTE_ORDER macro for endian detection"
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 26 May 2010 06:43:03 +0000 (23:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 26 May 2010 15:19:23 +0000 (08:19 -0700)
commit1b7f6c05835ea8aa5014737063483fc1e22d50eb
tree94c2d457d328ac2f093195ad4de28fecb3ec9d7c
parentad923299351750cef294037f9b74c2cfbba34188
revert "crc32: use __BYTE_ORDER macro for endian detection"

It doesn't work on big-endian - those architectures don't define
__LITTLE_ENDIAN.

Cc: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/crc32.c