diff options
Diffstat (limited to 'arch/x86/lib/thunk_32.S')
| -rw-r--r-- | arch/x86/lib/thunk_32.S | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/x86/lib/thunk_32.S b/arch/x86/lib/thunk_32.S index 650b11e00ec..2930ae05d77 100644 --- a/arch/x86/lib/thunk_32.S +++ b/arch/x86/lib/thunk_32.S | |||
| @@ -7,24 +7,6 @@ | |||
| 7 | 7 | ||
| 8 | #include <linux/linkage.h> | 8 | #include <linux/linkage.h> |
| 9 | 9 | ||
| 10 | #define ARCH_TRACE_IRQS_ON \ | ||
| 11 | pushl %eax; \ | ||
| 12 | pushl %ecx; \ | ||
| 13 | pushl %edx; \ | ||
| 14 | call trace_hardirqs_on; \ | ||
| 15 | popl %edx; \ | ||
| 16 | popl %ecx; \ | ||
| 17 | popl %eax; | ||
| 18 | |||
| 19 | #define ARCH_TRACE_IRQS_OFF \ | ||
| 20 | pushl %eax; \ | ||
| 21 | pushl %ecx; \ | ||
| 22 | pushl %edx; \ | ||
| 23 | call trace_hardirqs_off; \ | ||
| 24 | popl %edx; \ | ||
| 25 | popl %ecx; \ | ||
| 26 | popl %eax; | ||
| 27 | |||
| 28 | #ifdef CONFIG_TRACE_IRQFLAGS | 10 | #ifdef CONFIG_TRACE_IRQFLAGS |
| 29 | /* put return address in eax (arg1) */ | 11 | /* put return address in eax (arg1) */ |
| 30 | .macro thunk_ra name,func | 12 | .macro thunk_ra name,func |
