0c76f22ef1
- bnc#633573 - System fail to boot after running several warm reboot tests 22749-vtd-workarounds.patch - Upstream patches from Jan 22744-ept-pod-locking.patch 22777-vtd-ats-fixes.patch 22781-pod-hap-logdirty.patch 22782-x86-emul-smsw.patch 22789-i386-no-x2apic.patch 22790-svm-resume-migrate-pirqs.patch 22816-x86-pirq-drop-priv-check.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=94
47 lines
1.4 KiB
Diff
47 lines
1.4 KiB
Diff
# HG changeset patch
|
|
# User Keir Fraser <keir@xen.org>
|
|
# Date 1294649119 0
|
|
# Node ID 9b5d121c8805b40a4338248c346303e1e18d0c4e
|
|
# Parent 08bb0eefe87107c30a9bdc6d72f26b20c55ae687
|
|
x86_64: don't use weak symbols on x86-64
|
|
References: bnc#656369, bnc#658704
|
|
|
|
Various gcc versions inline functions that are both weak and hidden,
|
|
without even giving a warning.
|
|
|
|
Certainly the risk exists that we'll see the problem again when
|
|
another weak function gets introduced, but I don't see a way to
|
|
protect us from that.
|
|
|
|
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
|
|
|
Just remove the weak attribute altogether. It's the only one in
|
|
non-ia64-specific code. We can get teh same effect with ifdefs which
|
|
although a bit unsightly is better than using compiler/linker features
|
|
we cannot trust.
|
|
|
|
Signed-off-by: Keir Fraser <keir@xen.org>
|
|
|
|
Index: xen-4.0.2-testing/xen/drivers/acpi/numa.c
|
|
===================================================================
|
|
--- xen-4.0.2-testing.orig/xen/drivers/acpi/numa.c
|
|
+++ xen-4.0.2-testing/xen/drivers/acpi/numa.c
|
|
@@ -120,14 +120,15 @@ static int __init acpi_parse_slit(struct
|
|
return 0;
|
|
}
|
|
|
|
-void __init __attribute__ ((weak))
|
|
+#ifndef CONFIG_X86
|
|
+void __init
|
|
acpi_numa_x2apic_affinity_init(struct acpi_srat_x2apic_cpu_affinity *pa)
|
|
{
|
|
printk(KERN_WARNING PREFIX
|
|
"Found unsupported x2apic [0x%08x] SRAT entry\n", pa->apic_id);
|
|
return;
|
|
}
|
|
-
|
|
+#endif
|
|
|
|
static int __init
|
|
acpi_parse_x2apic_affinity(struct acpi_subtable_header *header,
|