summaryrefslogtreecommitdiffstats
path: root/arch/nds32/mm
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@kernel.org>2020-10-02 01:42:15 +0200
committerVineet Gupta <vgupta@kernel.org>2021-08-26 00:53:19 +0200
commitf35534a2bcc7fd614a11aa7e3d91a0b1d6c962fb (patch)
tree5a65961d1b3e4e0097221f106a10e6941304dca5 /arch/nds32/mm
parentARC: mm: disintegrate pgtable.h into levels and flags (diff)
downloadlinux-f35534a2bcc7fd614a11aa7e3d91a0b1d6c962fb.tar.xz
linux-f35534a2bcc7fd614a11aa7e3d91a0b1d6c962fb.zip
ARC: mm: hack to allow 2 level build with 4 level code
PMD_SHIFT is mapped to PUD_SHIFT or PGD_SHIFT by asm-generic/pgtable-* but only for !__ASSEMBLY__ tlbex.S asm code has PTRS_PER_PTE which uses PMD_SHIFT hence barfs for CONFIG_PGTABLE_LEVEL={2,3} and works for 4. So add a workaround local to tlbex.S - the proper fix is to change asm-generic/pgtable-* headers to expose the defines for __ASSEMBLY__ too Signed-off-by: Vineet Gupta <vgupta@kernel.org>
Diffstat (limited to 'arch/nds32/mm')
0 files changed, 0 insertions, 0 deletions