From: Sam Ravnborg Date: Sun, 31 Mar 2013 07:01:47 +0000 (+0000) Subject: sparc: use asm-generic version of types.h X-Git-Tag: v3.2.64~115 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf8b1e9de06c8e5a92d39a97e1b99b901def79d2;p=pandora-kernel.git sparc: use asm-generic version of types.h commit cbf1ef6b3345d2cc7e62407eec6a6f72a8b1346f upstream. In sparc headers we use the following pattern: #if defined(__sparc__) && defined(__arch64__) sparc64 specific stuff #else sparc32 specific stuff #endif In types.h this pattern was not followed and here we only checked for __sparc__ for no good reason. It was a left-over from long time ago. I checked other architectures - and most of them do not have any such checks. And all the recently merged versions uses the asm-generic version. Signed-off-by: Sam Ravnborg Signed-off-by: David S. Miller Signed-off-by: Guenter Roeck [bwh: Guenter backported this to 3.2: - Adjusted filenames, context - There's no duplicate export of types.h to delete] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed