]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cpu: export lockdep_assert_cpus_held()
authorHamza Mahfooz <hamzamahfooz@linux.microsoft.com>
Fri, 17 Jan 2025 20:33:06 +0000 (15:33 -0500)
committerWei Liu <wei.liu@kernel.org>
Thu, 13 Feb 2025 23:43:57 +0000 (23:43 +0000)
commit7c0db8a4f59d84554a9edc7409bec2ef59063439
tree8dea2053c650b614ad106d1ca4ea449c502bb3fb
parent0222eb30a3572cc9c4e2f0a3bb37f8f71089f2b6
cpu: export lockdep_assert_cpus_held()

If CONFIG_HYPERV=m, lockdep_assert_cpus_held() is undefined for HyperV.
So, export the function so that GPL drivers can use it more broadly.

Cc: Michael Kelley <mhklinux@outlook.com>
Signed-off-by: Hamza Mahfooz <hamzamahfooz@linux.microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Tested-by: Michael Kelley <mhklinux@outlook.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20250117203309.192072-1-hamzamahfooz@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20250117203309.192072-1-hamzamahfooz@linux.microsoft.com>
kernel/cpu.c