我觉得关键点编译器的出错信息上:
./arch/arm64/include/asm/pgtable.h:43:23: error: 'ALIGN' undeclared (first use in this function)
#define VMEMMAP_SIZE ALIGN((1UL << (VA_BITS - PAGE_SHIFT)) * sizeof(struct page), PUD_SIZE)
include/linux/highmem.h: In function 'kmap_to_page':
include/linux/highmem.h:50:1: error: macro "ALIGN" passed 2 arguments, but takes just 1
return virt_to_page(addr);