]> git.baikalelectronics.ru Git - kernel.git/commit
gpu/host1x: fence: Make spinlock static
authorDmitry Osipenko <digetx@gmail.com>
Tue, 17 Aug 2021 02:01:53 +0000 (05:01 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 16 Sep 2021 16:06:51 +0000 (18:06 +0200)
commitb6b591772f7c96648ab72129b8be705ef97518e9
tree06735aaf32ec742ed81c2a0844ee30b82a717274
parent13eb2d57a2143263c0726102d2c484a69c7ffe24
gpu/host1x: fence: Make spinlock static

The DEFINE_SPINLOCK macro creates a global spinlock symbol that is visible
to the whole kernel. This is unintended in the code, fix it.

Fixes: b7d562975244 ("gpu: host1x: Add DMA fence implementation")
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/fence.c