From: Sam Ravnborg Date: Sun, 20 Jul 2014 11:39:03 +0000 (+0200) Subject: sparc64: avoid code duplication in io_64.h X-Git-Tag: omap-for-v3.17/fixes-against-rc2~148^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=453c9abd38910cc36a59d503fac15a2d0f4d36c7;p=pandora-kernel.git sparc64: avoid code duplication in io_64.h Several of the small IO functions ended up having the same implementation. Use __raw_{read,write}* + {read,write}* as base for the others. Continue to use static inline functions to get full type check. The size of vmlinux for a defconfig build was the same when using static inline and macros for the functions - so there was no size win when using macros. This was tested with gcc 4.8.2 + binutils 2.24. For such simple constructs I assume older gcc's will do the same job. Signed-off-by: Sam Ravnborg Signed-off-by: David S. Miller --- Reading git-diff-tree failed