linux-stable/arch
Qian Cai 4a0d2eeea2 arm64/mm: fix variable 'pud' set but not used
[ Upstream commit 7d4e2dcf31 ]

GCC throws a warning,

arch/arm64/mm/mmu.c: In function 'pud_free_pmd_page':
arch/arm64/mm/mmu.c:1033:8: warning: variable 'pud' set but not used
[-Wunused-but-set-variable]
  pud_t pud;
        ^~~

because pud_table() is a macro and compiled away. Fix it by making it a
static inline function and for pud_sect() as well.

Signed-off-by: Qian Cai <cai@lca.pw>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-08-25 10:47:56 +02:00
..
alpha
arc ARC: enable uboot support unconditionally 2019-08-06 19:06:57 +02:00
arm ARM: dts: bcm: bcm47094: add missing #cells for mdio-bus-mux 2019-08-16 10:12:49 +02:00
arm64 arm64/mm: fix variable 'pud' set but not used 2019-08-25 10:47:56 +02:00
c6x
h8300 h8300: use cc-cross-prefix instead of hardcoding h8300-unknown-linux- 2019-04-05 22:32:55 +02:00
hexagon
ia64 ia64: fix build errors by exporting paddr_to_nid() 2019-06-22 08:15:19 +02:00
m68k m68k: Add -ffreestanding to CFLAGS 2019-03-23 20:10:00 +01:00
microblaze
mips MIPS: lantiq: Fix bitfield masking 2019-08-06 19:06:48 +02:00
nds32
nios2
openrisc
parisc parisc: Fix build of compressed kernel even with debug enabled 2019-08-06 19:06:55 +02:00
powerpc KVM: Fix leak vCPU's VMCS value into other pCPU 2019-08-16 10:12:53 +02:00
riscv riscv: Make __fstate_clean() work correctly. 2019-08-25 10:47:51 +02:00
s390 s390/dma: provide proper ARCH_ZONE_DMA_BITS value 2019-08-16 10:12:50 +02:00
sh sh: kernel: hw_breakpoint: Fix missing break in switch statement 2019-08-25 10:47:42 +02:00
sparc sparc: perf: fix updated event period in response to PERF_EVENT_IOC_PERIOD 2019-06-25 11:35:57 +08:00
um um: Silence lockdep complaint about mmap_sem 2019-07-31 07:27:04 +02:00
unicore32
x86 KVM: Fix leak vCPU's VMCS value into other pCPU 2019-08-16 10:12:53 +02:00
xtensa xtensa: add missing isync to the cpu_reset TLB code 2019-08-25 10:47:47 +02:00
.gitignore
Kconfig jump_label: move 'asm goto' support test to Kconfig 2019-06-04 08:02:34 +02:00