]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drm/i915: x86 always has writeq. Add I915_READ64 for symmetry.
authorKeith Packard <keithp@keithp.com>
Thu, 30 Apr 2009 21:43:43 +0000 (14:43 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 30 Apr 2009 22:51:02 +0000 (15:51 -0700)
commit049ef7e40fc9959db480b2753a1dbe734d98e948
treedf78069ef8edfc8ffc3b1f741d2c58085ffeaaa0
parent091438dd5668396328a3419abcbc6591159eb8d1
drm/i915: x86 always has writeq. Add I915_READ64 for symmetry.

i386 has inline code for writeq and readq, so just use those instead of ugly
macros which evaluate arguments multiple times.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.h