The PAGE_ALIGN macro is present in all other page.h headers, including the generic one. This patch adds the missing PAGE_ALIGN macro to ib/x86/asm/page.h Signed-off-by: Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx> --- lib/x86/asm/page.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/x86/asm/page.h b/lib/x86/asm/page.h index 073580a..7e2a3dd 100644 --- a/lib/x86/asm/page.h +++ b/lib/x86/asm/page.h @@ -19,6 +19,8 @@ typedef unsigned long pgd_t; #ifndef __ASSEMBLY__ +#define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE) + #ifdef __x86_64__ #define LARGE_PAGE_SIZE (512 * PAGE_SIZE) #else -- 2.26.2