From: Chris Dearman Date: Mon, 28 Apr 2008 09:12:19 +0000 (-0700) Subject: mm: try both endianess when checking for endianess X-Git-Tag: v2.6.26-rc1~995 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=797df5749032c2286bc7ff3a52de41fde0cdf0a5;p=pandora-kernel.git 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 Signed-off-by: Ralf Baechle Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed