From: Thomas Gleixner Date: Thu, 31 Aug 2017 08:22:06 +0000 (+0200) Subject: x86/idt: Remove the tracing IDT leftovers X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1d792a678c759b3b06af197c2c250cea13f9c57b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git x86/idt: Remove the tracing IDT leftovers Stephen reported a merge conflict with the XEN tree. That also shows that the IDT cleanup forgot to remove the now unused trace_{trap} defines. Remove them. Reported-by: Stephen Rothwell Signed-off-by: Thomas Gleixner Cc: Juergen Gross --- diff --git a/arch/x86/include/asm/traps.h b/arch/x86/include/asm/traps.h index b4f322d6c95f..cd0365ed0f68 100644 --- a/arch/x86/include/asm/traps.h +++ b/arch/x86/include/asm/traps.h @@ -38,24 +38,6 @@ asmlinkage void machine_check(void); #endif /* CONFIG_X86_MCE */ asmlinkage void simd_coprocessor_error(void); -#ifdef CONFIG_TRACING -#define trace_stack_segment stack_segment -#define trace_divide_error divide_error -#define trace_bounds bounds -#define trace_invalid_op invalid_op -#define trace_device_not_available device_not_available -#define trace_coprocessor_segment_overrun coprocessor_segment_overrun -#define trace_invalid_TSS invalid_TSS -#define trace_segment_not_present segment_not_present -#define trace_general_protection general_protection -#define trace_spurious_interrupt_bug spurious_interrupt_bug -#define trace_coprocessor_error coprocessor_error -#define trace_alignment_check alignment_check -#define trace_simd_coprocessor_error simd_coprocessor_error -#define trace_async_page_fault async_page_fault -#define trace_page_fault page_fault -#endif - dotraplinkage void do_divide_error(struct pt_regs *, long); dotraplinkage void do_debug(struct pt_regs *, long); dotraplinkage void do_nmi(struct pt_regs *, long);