x86: Fix user return notifier build
authorAvi Kivity <avi@redhat.com>
Sun, 25 Oct 2009 12:24:45 +0000 (14:24 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 25 Oct 2009 16:37:57 +0000 (17:37 +0100)
When CONFIG_USER_RETURN_NOTIFIER is set, we need to link
kernel/user-return-notifier.o.

Signed-off-by: Avi Kivity <avi@redhat.com>
LKML-Reference: <1256473485-23109-1-git-send-email-avi@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/Makefile

index b8d4cd8ac0b9d5d93e303833e70ed55d450582ee..0ae57a83d481feab2630d1f5856807b298743cce 100644 (file)
@@ -95,6 +95,7 @@ obj-$(CONFIG_RING_BUFFER) += trace/
 obj-$(CONFIG_SMP) += sched_cpupri.o
 obj-$(CONFIG_SLOW_WORK) += slow-work.o
 obj-$(CONFIG_PERF_EVENTS) += perf_event.o
+obj-$(CONFIG_USER_RETURN_NOTIFIER) += user-return-notifier.o
 
 ifneq ($(CONFIG_SCHED_OMIT_FRAME_POINTER),y)
 # According to Alan Modra <alan@linuxcare.com.au>, the -fno-omit-frame-pointer is