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 <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: "Alex Nixon (Intern)" <[email protected]>
Cc: Eduardo Habkost <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
Jeremy Fitzhardinge 2008-07-28 11:53:57 -07:00 • committed by Ingo Molnar
commit 0d1edf46ba
7 changed files with 150 additions and 134 deletions

View file

@ -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. */