diff options
-rw-r--r-- | arch/x86/kernel/Makefile | 2 | ||||
-rw-r--r-- | arch/x86/kernel/apic/Makefile | 1 | ||||
-rw-r--r-- | arch/x86/kernel/apic/apic.c | 4 | ||||
-rw-r--r-- | arch/x86/kernel/irq.c | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile index 74b3891afb9b..44e763f94ad4 100644 --- a/arch/x86/kernel/Makefile +++ b/arch/x86/kernel/Makefile | |||
@@ -16,6 +16,8 @@ CFLAGS_REMOVE_ftrace.o = -pg | |||
16 | CFLAGS_REMOVE_early_printk.o = -pg | 16 | CFLAGS_REMOVE_early_printk.o = -pg |
17 | endif | 17 | endif |
18 | 18 | ||
19 | CFLAGS_irq.o := -I$(src)/../include/asm/trace | ||
20 | |||
19 | obj-y := process_$(BITS).o signal.o entry_$(BITS).o | 21 | obj-y := process_$(BITS).o signal.o entry_$(BITS).o |
20 | obj-y += traps.o irq.o irq_$(BITS).o dumpstack_$(BITS).o | 22 | obj-y += traps.o irq.o irq_$(BITS).o dumpstack_$(BITS).o |
21 | obj-y += time.o ioport.o ldt.o dumpstack.o nmi.o | 23 | obj-y += time.o ioport.o ldt.o dumpstack.o nmi.o |
diff --git a/arch/x86/kernel/apic/Makefile b/arch/x86/kernel/apic/Makefile index 5274c3a07e75..0ae0323b1f9c 100644 --- a/arch/x86/kernel/apic/Makefile +++ b/arch/x86/kernel/apic/Makefile | |||
@@ -2,7 +2,6 @@ | |||
2 | # Makefile for local APIC drivers and for the IO-APIC code | 2 | # Makefile for local APIC drivers and for the IO-APIC code |
3 | # | 3 | # |
4 | 4 | ||
5 | CFLAGS_apic.o := -I$(src)/../../include/asm/trace | ||
6 | obj-$(CONFIG_X86_LOCAL_APIC) += apic.o apic_noop.o ipi.o | 5 | obj-$(CONFIG_X86_LOCAL_APIC) += apic.o apic_noop.o ipi.o |
7 | obj-y += hw_nmi.o | 6 | obj-y += hw_nmi.o |
8 | 7 | ||
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c index 61ced40e9c2c..961676c9b8d8 100644 --- a/arch/x86/kernel/apic/apic.c +++ b/arch/x86/kernel/apic/apic.c | |||
@@ -35,6 +35,7 @@ | |||
35 | #include <linux/smp.h> | 35 | #include <linux/smp.h> |
36 | #include <linux/mm.h> | 36 | #include <linux/mm.h> |
37 | 37 | ||
38 | #include <asm/trace/irq_vectors.h> | ||
38 | #include <asm/irq_remapping.h> | 39 | #include <asm/irq_remapping.h> |
39 | #include <asm/perf_event.h> | 40 | #include <asm/perf_event.h> |
40 | #include <asm/x86_init.h> | 41 | #include <asm/x86_init.h> |
@@ -55,9 +56,6 @@ | |||
55 | #include <asm/tsc.h> | 56 | #include <asm/tsc.h> |
56 | #include <asm/hypervisor.h> | 57 | #include <asm/hypervisor.h> |
57 | 58 | ||
58 | #define CREATE_TRACE_POINTS | ||
59 | #include <asm/trace/irq_vectors.h> | ||
60 | |||
61 | unsigned int num_processors; | 59 | unsigned int num_processors; |
62 | 60 | ||
63 | unsigned disabled_cpus __cpuinitdata; | 61 | unsigned disabled_cpus __cpuinitdata; |
diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c index 06af119743a6..3a8185c042a2 100644 --- a/arch/x86/kernel/irq.c +++ b/arch/x86/kernel/irq.c | |||
@@ -17,6 +17,8 @@ | |||
17 | #include <asm/idle.h> | 17 | #include <asm/idle.h> |
18 | #include <asm/mce.h> | 18 | #include <asm/mce.h> |
19 | #include <asm/hw_irq.h> | 19 | #include <asm/hw_irq.h> |
20 | |||
21 | #define CREATE_TRACE_POINTS | ||
20 | #include <asm/trace/irq_vectors.h> | 22 | #include <asm/trace/irq_vectors.h> |
21 | 23 | ||
22 | atomic_t irq_err_count; | 24 | atomic_t irq_err_count; |