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
14THUNK preempt_schedule_thunk, preempt_schedule
15THUNK preempt_schedule_notrace_thunk, preempt_schedule_notrace
16EXPORT_SYMBOL(preempt_schedule_thunk)
17EXPORT_SYMBOL(preempt_schedule_notrace_thunk)
18
19

source code of linux/arch/x86/entry/thunk_32.S