x86: Use clflushopt in drm_clflush_page
authorRoss Zwisler <ross.zwisler@linux.intel.com>
Wed, 26 Feb 2014 19:06:51 +0000 (12:06 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 27 Feb 2014 16:26:20 +0000 (08:26 -0800)
commit2a0c772f1967565d5b71a98012e74d5a7bddc1c4
tree0a6bc099e63beb9ba42bccd8e0e63dbbde8af073
parent8b80fd8b45458a7d0b726d454c51c5219e0fb2ee
x86: Use clflushopt in drm_clflush_page

If clflushopt is available on the system, use it instead of clflush in
drm_clflush_page.

Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Link: http://lkml.kernel.org/r/1393441612-19729-4-git-send-email-ross.zwisler@linux.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
drivers/gpu/drm/drm_cache.c