drm/nouveau: fix build failures on all non ARM.
authorDave Airlie <airlied@redhat.com>
Mon, 9 Nov 2015 22:36:59 +0000 (08:36 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 11 Nov 2015 02:37:57 +0000 (12:37 +1000)
commit10855aeb1e78533c041065b33e34315e1f381c2e
tree958c7a4491f8419c77fbb6e64ce5a02def491e2b
parent28fb4cb7fa6f63dc2fbdb5f2564dcbead8e3eee0
drm/nouveau: fix build failures on all non ARM.

gk20a is an ARM only GPU, so we can just do the correct thing on
ARM but fail on other architectures. The other option was to use
SWIOTLB as the define, which means phys_to_page exists, but
this seems clearer.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c