Re: [PATCH 0/7] 5-level paging: prepare generic code
From: Michal Hocko
Date: Wed Mar 08 2017 - 10:13:55 EST
Btw. my build test machinery has reported this:
microblaze/allnoconfig
In file included from ./arch/microblaze/include/asm/pgtable.h:550:0,
from ./include/linux/mm.h:68,
from ./arch/microblaze/include/asm/io.h:17,
from ./include/linux/io.h:25,
from ./include/linux/irq.h:24,
from ./include/asm-generic/hardirq.h:12,
from ./arch/microblaze/include/asm/hardirq.h:1,
from ./include/linux/hardirq.h:8,
from ./include/linux/interrupt.h:12,
from ./include/linux/kernel_stat.h:8,
from arch/microblaze/kernel/asm-offsets.c:14:
./include/asm-generic/pgtable.h:886:32: error: unknown type name 'p4d_t'
static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot)
^
./include/asm-generic/pgtable.h:898:34: error: unknown type name 'p4d_t'
static inline int p4d_clear_huge(p4d_t *p4d)
^
In file included from ./arch/microblaze/include/asm/io.h:17:0,
from ./include/linux/io.h:25,
from ./include/linux/irq.h:24,
from ./include/asm-generic/hardirq.h:12,
from ./arch/microblaze/include/asm/hardirq.h:1,
from ./include/linux/hardirq.h:8,
from ./include/linux/interrupt.h:12,
from ./include/linux/kernel_stat.h:8,
from arch/microblaze/kernel/asm-offsets.c:14:
./include/linux/mm.h:1580:39: error: unknown type name 'p4d_t'
int __pud_alloc(struct mm_struct *mm, p4d_t *p4d, unsigned long address);
^
In file included from ./arch/microblaze/include/asm/io.h:17:0,
from ./include/linux/io.h:25,
from ./include/linux/irq.h:24,
from ./include/asm-generic/hardirq.h:12,
from ./arch/microblaze/include/asm/hardirq.h:1,
from ./include/linux/hardirq.h:8,
from ./include/linux/interrupt.h:12,
from ./include/linux/kernel_stat.h:8,
from arch/microblaze/kernel/asm-offsets.c:14:
./include/linux/mm.h:2409:1: error: unknown type name 'p4d_t'
p4d_t *vmemmap_p4d_populate(pgd_t *pgd, unsigned long addr, int node);
^
./include/linux/mm.h:2410:29: error: unknown type name 'p4d_t'
pud_t *vmemmap_pud_populate(p4d_t *p4d, unsigned long addr, int node);
^
make[1]: *** [arch/microblaze/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
--
Michal Hocko
SUSE Labs