kernel_optimize_test/arch
Mike Kravetz 997cdcb068 powerpc/mm: remove pmd_huge/pud_huge stubs and include hugetlb.h
Patch series "hugetlbfs: convert macros to static inline, fix sparse
warning".

The definition for huge_pte_offset() in <linux/hugetlb.h> causes a
sparse warning in the !CONFIG_HUGETLB_PAGE.  Fix this as well as
converting all macros in this block of definitions to static inlines for
better type checking.

When making the above changes, build errors were found in powerpc due to
duplicate definitions.  A separate powerpc specific patch is included as
a requisite to remove the definitions and get them from
<linux/hugetlb.h>.

This patch (of 2):

This removes the power specific stubs created by commit aad71e3928
("powerpc/mm: Fix build break with RADIX=y & HUGETLBFS=n") used when
!CONFIG_HUGETLB_PAGE.  Instead, it addresses the build break by getting
the definitions from <linux/hugetlb.h>.  This allows the macros in
<linux/hugetlb.h> to be replaced with static inlines.

Link: http://lkml.kernel.org/r/20191112194558.139389-2-mike.kravetz@oracle.com
Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Cc: Ben Dooks <ben.dooks@codethink.co.uk>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-12-01 12:59:08 -08:00
..
alpha generic ioremap support 2019-11-28 10:57:12 -08:00
arc ARC: mm: remove __ARCH_USE_5LEVEL_HACK 2019-12-01 06:29:19 -08:00
arm dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
arm64 dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
c6x dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
csky dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
h8300 h8300: Move EXCEPTION_TABLE to RO_DATA segment 2019-11-04 18:12:55 +01:00
hexagon dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
ia64 dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
m68k dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
microblaze dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
mips dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
nds32 dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
nios2 dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
openrisc dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
parisc dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
powerpc powerpc/mm: remove pmd_huge/pud_huge stubs and include hugetlb.h 2019-12-01 12:59:08 -08:00
riscv generic ioremap support 2019-11-28 10:57:12 -08:00
s390 generic ioremap support 2019-11-28 10:57:12 -08:00
sh dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
sparc dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
um Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-11-26 10:42:40 -08:00
unicore32 generic ioremap support 2019-11-28 10:57:12 -08:00
x86 x86/kasan: support KASAN_VMALLOC 2019-12-01 12:59:06 -08:00
xtensa dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
.gitignore
Kconfig fork: support VMAP_STACK with KASAN_VMALLOC 2019-12-01 12:59:05 -08:00