]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - kernel/locking/irqflag-debug.c
bitmap: Make bitmap_remap() and bitmap_bitremap() available to users
[mirror_ubuntu-jammy-kernel.git] / kernel / locking / irqflag-debug.c
CommitLineData
997acaf6
MR
1// SPDX-License-Identifier: GPL-2.0-only
2
3#include <linux/bug.h>
4#include <linux/export.h>
5#include <linux/irqflags.h>
6
c8cc7e85 7noinstr void warn_bogus_irq_restore(void)
997acaf6 8{
c8cc7e85 9 instrumentation_begin();
997acaf6 10 WARN_ONCE(1, "raw_local_irq_restore() called with IRQs enabled\n");
c8cc7e85 11 instrumentation_end();
997acaf6
MR
12}
13EXPORT_SYMBOL(warn_bogus_irq_restore);