https://bugzilla.kernel.org/show_bug.cgi?id=208957
Bug ID: 208957 Summary: 5.9-rc1 fails to build for a PowerMac G5: .../book3s64/hash_utils.c:1119:21: error: ‘default_uamor’ undeclared (first use in this function) 1119 | mtspr(SPRN_UAMOR, default_uamor); Product: Platform Specific/Hardware Version: 2.5 Kernel Version: 5.9-rc1 Hardware: PPC-64 OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: PPC-64 Assignee: platform_ppc...@kernel-bugs.osdl.org Reporter: erhar...@mailbox.org Regression: No Created attachment 292021 --> https://bugzilla.kernel.org/attachment.cgi?id=292021&action=edit kernel .config (kernel 5.9-rc1, PowerMac G5 11,2) [...] CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh CHK include/generated/compile.h CC arch/powerpc/mm/book3s64/hash_utils.o In file included from ./arch/powerpc/include/asm/processor.h:9, from ./arch/powerpc/include/asm/thread_info.h:40, from ./include/linux/thread_info.h:38, from ./include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from arch/powerpc/mm/book3s64/hash_utils.c:21: arch/powerpc/mm/book3s64/hash_utils.c: In function ‘hash__early_init_mmu_secondary’: arch/powerpc/mm/book3s64/hash_utils.c:1119:21: error: ‘default_uamor’ undeclared (first use in this function) 1119 | mtspr(SPRN_UAMOR, default_uamor); | ^~~~~~~~~~~~~ ./arch/powerpc/include/asm/reg.h:1396:33: note: in definition of macro ‘mtspr’ 1396 | : "r" ((unsigned long)(v)) \ | ^ arch/powerpc/mm/book3s64/hash_utils.c:1119:21: note: each undeclared identifier is reported only once for each function it appears in 1119 | mtspr(SPRN_UAMOR, default_uamor); | ^~~~~~~~~~~~~ ./arch/powerpc/include/asm/reg.h:1396:33: note: in definition of macro ‘mtspr’ 1396 | : "r" ((unsigned long)(v)) \ | ^ make[3]: *** [scripts/Makefile.build:283: arch/powerpc/mm/book3s64/hash_utils.o] Error 1 make[2]: *** [scripts/Makefile.build:500: arch/powerpc/mm/book3s64] Error 2 make[1]: *** [scripts/Makefile.build:500: arch/powerpc/mm] Error 2 make: *** [Makefile:1789: arch/powerpc] Error 2 -- You are receiving this mail because: You are watching the assignee of the bug.