commit | 797df5749032c2286bc7ff3a52de41fde0cdf0a5 | [log] [tgz] |
---|---|---|
author | Chris Dearman <chris@mips.com> | Mon Apr 28 02:12:19 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Apr 28 08:58:19 2008 -0700 |
tree | 38ebb9f0672c6eeab3269cc875f22422fa2c908b | |
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>