summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-10-19 10:52:52 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-28 18:25:47 +0100
commit0b13f3a612d76eaa29bad32c2a93f085faf21120 (patch)
tree842bb8aee520e35fda05d5f3426a25085dd2cee6 /tools/perf/scripts/python/bin
parente53300c4bf3954d3bf8656b02321c620b0966c8b (diff)
sparc: Fix parport build warnings.
[ Upstream commit 46b8306480fb424abd525acc1763da1c63a27d8a ] If PARPORT_PC_FIFO is not enabled, do not provide the dma lock macros and lock definition. Otherwise: ./arch/sparc/include/asm/parport.h:24:24: warning: ‘dma_spin_lock’ defined but not used [-Wunused-variable] static DEFINE_SPINLOCK(dma_spin_lock); ^~~~~~~~~~~~~ ./include/linux/spinlock_types.h:81:39: note: in definition of macro ‘DEFINE_SPINLOCK’ #define DEFINE_SPINLOCK(x) spinlock_t x = __SPIN_LOCK_UNLOCKED(x) Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions