From: Ben Widawsky Date: Mon, 15 Dec 2014 20:26:46 +0000 (-0800) Subject: drm/cache: Use wbinvd helpers X-Git-Tag: fixes-v4.0-rc1~91^2~45^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b04d4a38c0691e4467fa2988b6fe481bf759daaf;p=pandora-kernel.git drm/cache: Use wbinvd helpers When the original drm code was written there were no centralized functions for doing a coordinated wbinvd across all CPUs. Now (since 2010) there are, so use them instead of rolling a new one. v2: On x86 UP systems the wbinvd_on_all_cpus() is defined as a static inline in smp.h. We must therefore include this file so we don't get compiler errors. This error was found by 0-DAY kernel test infrastructure. We only need this for x86. Cc: Intel GFX Signed-off-by: Ben Widawsky Reviewed-by: Chris Wilson (v1) Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed