Merge tag 'at91-dt-for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/mripard...
[cascardo/linux.git] / arch / x86 / kernel / preempt.S
1
2 #include <linux/linkage.h>
3 #include <asm/dwarf2.h>
4 #include <asm/asm.h>
5 #include <asm/calling.h>
6
7 ENTRY(___preempt_schedule)
8         CFI_STARTPROC
9         SAVE_ALL
10         call preempt_schedule
11         RESTORE_ALL
12         ret
13         CFI_ENDPROC
14
15 #ifdef CONFIG_CONTEXT_TRACKING
16
17 ENTRY(___preempt_schedule_context)
18         CFI_STARTPROC
19         SAVE_ALL
20         call preempt_schedule_context
21         RESTORE_ALL
22         ret
23         CFI_ENDPROC
24
25 #endif