[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [LINUX] Revert bits of cset 11202 since they break the -xenU build for x86/64.
# HG changeset patch # User Ian Campbell <ian.campbell@xxxxxxxxxxxxx> # Node ID a58ffedb59ce658ee9e066f0dd73551831f8e243 # Parent f681ffc9b01a5ba97ccb81dbeb50343904e8498b [LINUX] Revert bits of cset 11202 since they break the -xenU build for x86/64. Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxxxxx> --- linux-2.6-xen-sparse/arch/x86_64/kernel/genapic_xen.c | 12 ++++++++++++ 1 files changed, 12 insertions(+) diff -r f681ffc9b01a -r a58ffedb59ce linux-2.6-xen-sparse/arch/x86_64/kernel/genapic_xen.c --- a/linux-2.6-xen-sparse/arch/x86_64/kernel/genapic_xen.c Mon Aug 21 12:05:11 2006 -0400 +++ b/linux-2.6-xen-sparse/arch/x86_64/kernel/genapic_xen.c Tue Aug 22 11:30:13 2006 +0100 @@ -17,8 +17,14 @@ #include <linux/kernel.h> #include <linux/ctype.h> #include <linux/init.h> +#ifdef CONFIG_XEN_PRIVILEGED_GUEST #include <asm/smp.h> #include <asm/ipi.h> +#else +#include <asm/apic.h> +#include <asm/apicdef.h> +#include <asm/genapic.h> +#endif #include <xen/evtchn.h> DECLARE_PER_CPU(int, ipi_to_irq[NR_IPIS]); @@ -112,12 +118,14 @@ static void xen_send_IPI_mask(cpumask_t local_irq_restore(flags); } +#ifdef CONFIG_XEN_PRIVILEGED_GUEST static int xen_apic_id_registered(void) { /* better be set */ Dprintk("%s\n", __FUNCTION__); return physid_isset(smp_processor_id(), phys_cpu_present_map); } +#endif static unsigned int xen_cpu_mask_to_apicid(cpumask_t cpumask) { @@ -136,11 +144,15 @@ static unsigned int phys_pkg_id(int inde struct genapic apic_xen = { .name = "xen", +#ifdef CONFIG_XEN_PRIVILEGED_GUEST .int_delivery_mode = dest_LowestPrio, +#endif .int_dest_mode = (APIC_DEST_LOGICAL != 0), .int_delivery_dest = APIC_DEST_LOGICAL | APIC_DM_LOWEST, .target_cpus = xen_target_cpus, +#ifdef CONFIG_XEN_PRIVILEGED_GUEST .apic_id_registered = xen_apic_id_registered, +#endif .init_apic_ldr = xen_init_apic_ldr, .send_IPI_all = xen_send_IPI_all, .send_IPI_allbutself = xen_send_IPI_allbutself, _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |