summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/preempt.S
blob: ca7f0d58a87dc0bda2790122f56d2e6be3dd81bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <linux/linkage.h>
#include <asm/dwarf2.h>
#include <asm/asm.h>
#include <asm/calling.h>

ENTRY(___preempt_schedule)
	CFI_STARTPROC
	SAVE_ALL
	call preempt_schedule
	RESTORE_ALL
	ret
	CFI_ENDPROC

#ifdef CONFIG_CONTEXT_TRACKING

ENTRY(___preempt_schedule_context)
	CFI_STARTPROC
	SAVE_ALL
	call preempt_schedule_context
	RESTORE_ALL
	ret
	CFI_ENDPROC

#endif