1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | /* |
3 | * Trampoline to trace irqs off. (otherwise CALLER_ADDR1 might crash) |
4 | * Copyright 2008 by Steven Rostedt, Red Hat, Inc |
5 | * (inspired by Andi Kleen's thunk_64.S) |
6 | */ |
7 | |
8 | #include <linux/export.h> |
9 | #include <linux/linkage.h> |
10 | #include <asm/asm.h> |
11 | |
12 | #include "calling.h" |
13 | |
14 | THUNK preempt_schedule_thunk, preempt_schedule |
15 | THUNK preempt_schedule_notrace_thunk, preempt_schedule_notrace |
16 | EXPORT_SYMBOL(preempt_schedule_thunk) |
17 | EXPORT_SYMBOL(preempt_schedule_notrace_thunk) |
18 | |
19 | |