The patch titled Subject: arch/x86/kernel/resource.c: needs spinlock.h has been added to the -mm tree. Its filename is arch-x86-kernel-resourcec-needs-spinlockh.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/arch-x86-kernel-resourcec-needs-spinlockh.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/arch-x86-kernel-resourcec-needs-spinlockh.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: arch/x86/kernel/resource.c: needs spinlock.h fix recent breaking in -next. x86_64 allnoconfig. In file included from arch/x86/kernel/resource.c:4: ./arch/x86/include/asm/pci_x86.h:105:8: error: unknown type name 'raw_spinlock_t' 105 | extern raw_spinlock_t pci_config_lock; | ^~~~~~~~~~~~~~ am too lazy to hunt down the offending commit. Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: "H. Peter Anvin" <hpa@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/x86/kernel/resource.c | 1 + 1 file changed, 1 insertion(+) --- a/arch/x86/kernel/resource.c~arch-x86-kernel-resourcec-needs-spinlockh +++ a/arch/x86/kernel/resource.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include <linux/ioport.h> +#include <linux/spinlock.h> #include <asm/e820/api.h> #include <asm/pci_x86.h> _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are remove-bdi_congested-and-wb_congested-and-related-functions-fix.patch mm.patch documentation-vm-page_ownerrst-update-the-documentation-fix.patch x86-mm-enable-arch_has_vm_get_page_prot-fix.patch mm-hwpoison-inject-support-injecting-hwpoison-to-free-page-fix.patch mm-mempolicy-convert-from-atomic_t-to-refcount_t-on-mempolicy-refcnt-fix.patch mm-handle-uninitialized-numa-nodes-gracefully-fix.patch mm-memory_hotplug-remove-obsolete-comment-of-__add_pages-fix.patch proc-alloc-path_max-bytes-for-proc-pid-fd-symlinks-fix.patch linux-next-rejects.patch linux-next-git-rejects.patch drivers-gpu-drm-dp-drm_dpc-fix-build.patch arch-x86-kernel-resourcec-needs-spinlockh.patch kasan-improve-vmalloc-tests-fix-3-fix.patch mutex-subsystem-synchro-test-module-fix.patch kernel-forkc-export-kernel_thread-to-modules.patch