summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/nohash/64/pgtable-64k.h
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2017-03-09 17:24:04 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2017-03-09 11:48:47 -0800
commit30ec842660bd0d056d4a7028ac5bd4a82b113d4f (patch)
treef8f0f172efa283962937149b62a05686595986dd /arch/powerpc/include/asm/nohash/64/pgtable-64k.h
parent505a60e225606fbd3d2eadc31ff793d939ba66f1 (diff)
downloadlinux-30ec842660bd0d056d4a7028ac5bd4a82b113d4f.tar.gz
asm-generic: introduce __ARCH_USE_5LEVEL_HACK
We are going to introduce <asm-generic/pgtable-nop4d.h> to provide abstraction for properly (in opposite to 5level-fixup.h hack) folded p4d level. The new header will be included from pgtable-nopud.h. If an architecture uses <asm-generic/nop*d.h>, we cannot use 5level-fixup.h directly to quickly convert the architecture to 5-level paging as it would conflict with pgtable-nop4d.h. With this patch an architecture can define __ARCH_USE_5LEVEL_HACK before inclusion <asm-genenric/nop*d.h> to use 5level-fixup.h. Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Acked-by: Michal Hocko <mhocko@suse.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc/include/asm/nohash/64/pgtable-64k.h')
0 files changed, 0 insertions, 0 deletions