From: GOTO Masanori Date: Wed, 29 Jun 2005 03:45:03 +0000 (-0700) Subject: [PATCH] headers: enable ppc64 ___arch__swab16 and ___arch__swab32 X-Git-Tag: v2.6.13-rc1~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12822bc272e857544476cef9175462711899008b;p=pandora-kernel.git [PATCH] headers: enable ppc64 ___arch__swab16 and ___arch__swab32 This patch cleans up asm-ppc64/byteorder.h to enable ___arch__swab16 and ___arch__swab32 which are marked TODO currently. It removes ___arch__swab64 because ppc64 does not have short instruction combinations for swab64, the recent gcc generates enough smart code that is equivalent to hand assembled code under my tests. Signed-off-by: GOTO Masanori Cc: Paul Mackerras Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed