summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-07-20 13:39:03 +0200
committerDavid S. Miller <davem@davemloft.net>2014-07-21 21:43:19 -0700
commit453c9abd38910cc36a59d503fac15a2d0f4d36c7 (patch)
treee1ba97ac58eb21f7e94e831c3f6d37e4f44907ba /drivers/gpu/drm/i915/i915_gem.c
parentadd79d686c81afb43dcf55924c1f11f59c5d0851 (diff)
downloadlinux-453c9abd38910cc36a59d503fac15a2d0f4d36c7.tar.bz2
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 <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
0 files changed, 0 insertions, 0 deletions