--- zzzz-none-000/linux-3.10.107/arch/m68k/include/asm/sun3_pgalloc.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/m68k/include/asm/sun3_pgalloc.h 2021-02-04 17:41:59.000000000 +0000 @@ -12,10 +12,6 @@ #include -/* FIXME - when we get this compiling */ -/* erm, now that it's compiling, what do we do with it? */ -#define _KERNPG_TABLE 0 - extern const char bad_pmd_string[]; #define pmd_alloc_one(mm,address) ({ BUG(); ((pmd_t *)2); }) @@ -59,7 +55,10 @@ return NULL; clear_highpage(page); - pgtable_page_ctor(page); + if (!pgtable_page_ctor(page)) { + __free_page(page); + return NULL; + } return page; }