diff options
author | Chris Wilson <[email protected]> | 2016-08-17 12:09:05 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2016-08-17 12:36:07 +0100 |
commit | 21aea5cc06667b7e34cf7bd3fc17a1fb2937baa9 (patch) | |
tree | 4e7017cf160deab44184bd58d64b946bb0d9a642 | |
parent | 318f89ca205fc2df61954e3b415d93a06691817e (diff) |
drm/i915: Mark the static key for movntqda as static
Silence sparse who warns that the global variable is not declared
static.
Fixes: 0b1de5d58e19 ("drm/i915: Use SSE4.1 movntdqa to ...")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Akash Goel <[email protected]>
Cc: Damien Lespiau <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Tvrtko Ursulin <[email protected]>
-rw-r--r-- | drivers/gpu/drm/i915/i915_memcpy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_memcpy.c b/drivers/gpu/drm/i915/i915_memcpy.c index 6f1df0ec8a81..49a079494b68 100644 --- a/drivers/gpu/drm/i915/i915_memcpy.c +++ b/drivers/gpu/drm/i915/i915_memcpy.c @@ -27,7 +27,7 @@ #include "i915_drv.h" -DEFINE_STATIC_KEY_FALSE(has_movntdqa); +static DEFINE_STATIC_KEY_FALSE(has_movntdqa); #ifdef CONFIG_AS_MOVNTDQA static void __memcpy_ntdqa(void *dst, const void *src, unsigned long len) |