summaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-07-28 11:53:57 -0700
committerIngo Molnar <mingo@elte.hu>2008-07-31 12:39:39 +0200
commit0d1edf46ba229b46efacf75c0544b88c05a7b266 (patch)
treea26262e9f4e85ba7150dfa4e06998a37daa6a984 /drivers/xen
parenteac4345be6d17541039791f15f173d0426423df1 (diff)
downloadop-kernel-dev-0d1edf46ba229b46efacf75c0544b88c05a7b266.zip
op-kernel-dev-0d1edf46ba229b46efacf75c0544b88c05a7b266.tar.gz
xen: compile irq functions without -pg for ftrace
For some reason I managed to miss a bunch of irq-related functions which also need to be compiled without -pg when using ftrace. This patch moves them into their own file, and starts a cleanup process I've been meaning to do anyway. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: "Alex Nixon (Intern)" <Alex.Nixon@eu.citrix.com> Cc: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/xen')
-rw-r--r--drivers/xen/events.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index 0e0c285..a083703 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -84,17 +84,6 @@ static int irq_bindcount[NR_IRQS];
/* Xen will never allocate port zero for any purpose. */
#define VALID_EVTCHN(chn) ((chn) != 0)
-/*
- * Force a proper event-channel callback from Xen after clearing the
- * callback mask. We do this in a very simple manner, by making a call
- * down into Xen. The pending flag will be checked by Xen on return.
- */
-void force_evtchn_callback(void)
-{
- (void)HYPERVISOR_xen_version(0, NULL);
-}
-EXPORT_SYMBOL_GPL(force_evtchn_callback);
-
static struct irq_chip xen_dynamic_chip;
/* Constructor for packed IRQ information. */
OpenPOWER on IntegriCloud