summaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel/trace_irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/kernel/trace_irq.h')
-rw-r--r--arch/riscv/kernel/trace_irq.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/riscv/kernel/trace_irq.h b/arch/riscv/kernel/trace_irq.h
new file mode 100644
index 000000000000..99fe67377e5e
--- /dev/null
+++ b/arch/riscv/kernel/trace_irq.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (C) 2022 Changbin Du <changbin.du@gmail.com>
+ */
+#ifndef __TRACE_IRQ_H
+#define __TRACE_IRQ_H
+
+void __trace_hardirqs_on(void);
+void __trace_hardirqs_off(void);
+
+#endif /* __TRACE_IRQ_H */