Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/ttm: recognize ARM arch in ioprot handler

Nouveau can now be used on ARM, so add an ioprot handler for this
architecture.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>

authored by

Lucas Stach and committed by
David Herrmann
2fc2dd78 6d6dfcfb

+1 -1
+1 -1
drivers/gpu/drm/ttm/ttm_bo_util.c
··· 500 500 pgprot_val(tmp) |= _PAGE_GUARDED; 501 501 } 502 502 #endif 503 - #if defined(__ia64__) 503 + #if defined(__ia64__) || defined(__arm__) 504 504 if (caching_flags & TTM_PL_FLAG_WC) 505 505 tmp = pgprot_writecombine(tmp); 506 506 else