[PATCH 0/2] fix recent nds32 build breakage

From: Mike Rapoport
Date: Mon Dec 23 2019 - 06:00:15 EST


From: Mike Rapoport <rppt@xxxxxxxxxxxxx>

Hi,

The kbuild robot reported build breakage of nds32 architecture [1] that
happens with CONFIG_CPU_CACHE_ALIASING=n and CONFIG_HUGHMEM=y.

There are two issues: one with a missing macro during conversion of page
folding and another one is a conflict between cacheflush.h definitions in
arch/nds32 and asm-generic.

[1] https://lore.kernel.org/lkml/201912212139.yptX8CsV%25lkp@xxxxxxxxx/

Mike Rapoport (2):
asm-generic/nds32: don't redefine cacheflush primitives
nds32: fix build failure caused by page table folding updates

arch/nds32/include/asm/cacheflush.h | 11 ++++++----
arch/nds32/include/asm/pgtable.h | 2 +-
include/asm-generic/cacheflush.h | 33 ++++++++++++++++++++++++++++-
3 files changed, 40 insertions(+), 6 deletions(-)

--
2.24.0