xref: /linux/arch/x86/entry/thunk.S (revision 55d0969c451159cff86949b38c39171cab962069)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Save registers before calling assembly functions. This avoids
4 * disturbance of register allocation in some inline assembly constructs.
5 * Copyright 2001,2002 by Andi Kleen, SuSE Labs.
6 */
7#include <linux/export.h>
8#include <linux/linkage.h>
9#include "calling.h"
10#include <asm/asm.h>
11
12THUNK preempt_schedule_thunk, preempt_schedule
13THUNK preempt_schedule_notrace_thunk, preempt_schedule_notrace
14EXPORT_SYMBOL(preempt_schedule_thunk)
15EXPORT_SYMBOL(preempt_schedule_notrace_thunk)
16