summaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorChris Dearman <chris@mips.com>2008-04-28 02:12:19 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 08:58:19 -0700
commit797df5749032c2286bc7ff3a52de41fde0cdf0a5 (patch)
tree38ebb9f0672c6eeab3269cc875f22422fa2c908b /mm/hugetlb.c
parent19770b32609b6bf97a3dece2529089494cbfc549 (diff)
downloadlinux-797df5749032c2286bc7ff3a52de41fde0cdf0a5.tar.bz2
mm: try both endianess when checking for endianess
When checking for the swap header try byteswapping the endianess dependent fields to allow the swap partition to be shared between big & little endian systems. Signed-off-by: Chris Dearman <chris@mips.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Acked-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions