ARC: fix build warnings
authorVineet Gupta <vgupta@synopsys.com>
Tue, 7 May 2019 17:45:24 +0000 (10:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jun 2019 03:35:55 +0000 (11:35 +0800)
commit4c21b761b40e082c6630f684e23c45bfbd5ef254
tree8bf655d8046e0d11d13ad5f8039568f8de5f10e8
parentd64f99ef010dba5ffc19d233442479f207f91067
ARC: fix build warnings

[ Upstream commit 89c92142f75eb80064f5b9f1111484b1b4d81790 ]

| arch/arc/mm/tlb.c:914:2: warning: variable length array 'pd0' is used [-Wvla]
| arch/arc/include/asm/cmpxchg.h:95:29: warning: value computed is not used [-Wunused-value]

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arc/include/asm/cmpxchg.h
arch/arc/mm/tlb.c