summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds2011-07-30 08:33:40 +0200
committerLinus Torvalds2011-07-30 08:33:40 +0200
commitb993fdbc7fe26f96b59003a3552c418a71aa0a9f (patch)
treed5ffe93095c2111b7a68e1f0cc0b2f6e2388e990 /arch/x86/xen/Makefile
parentMerge branch 'at91/cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
parentxen/tracing: fix compile errors when tracing is disabled. (diff)
downloadkernel-qcow2-linux-b993fdbc7fe26f96b59003a3552c418a71aa0a9f.tar.gz
kernel-qcow2-linux-b993fdbc7fe26f96b59003a3552c418a71aa0a9f.tar.xz
kernel-qcow2-linux-b993fdbc7fe26f96b59003a3552c418a71aa0a9f.zip
Merge branch 'upstream/xen-tracing2' of git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen
* 'upstream/xen-tracing2' of git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen: xen/tracing: fix compile errors when tracing is disabled.
Diffstat (limited to 'arch/x86/xen/Makefile')
-rw-r--r--arch/x86/xen/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/xen/Makefile b/arch/x86/xen/Makefile
index ccf73b2f3e69..45e94aca5bce 100644
--- a/arch/x86/xen/Makefile
+++ b/arch/x86/xen/Makefile
@@ -13,7 +13,9 @@ CFLAGS_mmu.o := $(nostackp)
obj-y := enlighten.o setup.o multicalls.o mmu.o irq.o \
time.o xen-asm.o xen-asm_$(BITS).o \
grant-table.o suspend.o platform-pci-unplug.o \
- p2m.o trace.o
+ p2m.o
+
+obj-$(CONFIG_FUNCTION_TRACER) += trace.o
obj-$(CONFIG_SMP) += smp.o
obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o