io-mapping: Fixup for different names of writecombine
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Aug 2016 20:15:02 +0000 (22:15 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Aug 2016 07:43:49 +0000 (09:43 +0200)
commit351243897b15aba02ad15317724d616aeaf00c7d
treec37b5871c56714987cd19f78e91a180157504942
parentbcaaa0c4310ebe1ab04274594916bbb2d82a49c8
io-mapping: Fixup for different names of writecombine

Somehow architectures can't agree on this. And for good measure make
sure we have a fallback which should work everywhere (fingers
crossed).

v2: Make it compile properly, needs a defined() for the #elif.

Fixes: ac96b5566926 ("io-mapping.h: s/PAGE_KERNEL_IO/PAGE_KERNEL/")
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: linux-mm@kvack.org
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20160823202233.4681-1-daniel.vetter@ffwll.ch
(cherry picked from commit 80c33624e4723c4e22d9917cd676067ebf652dc2)
include/linux/io-mapping.h