diff options
author | Chris Dearman <chris@mips.com> | 2008-04-28 02:12:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 08:58:19 -0700 |
commit | 797df5749032c2286bc7ff3a52de41fde0cdf0a5 (patch) | |
tree | 38ebb9f0672c6eeab3269cc875f22422fa2c908b /mm/hugetlb.c | |
parent | 19770b32609b6bf97a3dece2529089494cbfc549 (diff) |
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