]> git.pld-linux.org Git - packages/xen.git/blob - gcc9.patch
- updated patch and build, added build fixes for newer gcc
[packages/xen.git] / gcc9.patch
1 --- xen-4.11.1/xen/drivers/passthrough/vtd/vtd.h.orig   2018-11-29 14:04:11.000000000 +0000
2 +++ xen-4.11.1/xen/drivers/passthrough/vtd/vtd.h        2019-02-05 21:32:50.056774501 +0000
3 @@ -28,7 +28,7 @@
4  /* Allow for both IOAPIC and IOSAPIC. */
5  #define IO_xAPIC_route_entry IO_APIC_route_entry
6  
7 -struct IO_APIC_route_remap_entry {
8 +struct __packed IO_APIC_route_remap_entry {
9      union {
10          u64 val;
11          struct {
12 --- xen-4.11.1/xen/arch/x86/cpu/mtrr/generic.c.orig     2018-11-29 14:04:11.000000000 +0000
13 +++ xen-4.11.1/xen/arch/x86/cpu/mtrr/generic.c  2019-02-10 19:24:09.378805103 +0000
14 @@ -171,6 +171,9 @@
15         printk("%sMTRR variable ranges %sabled:\n", level,
16                mtrr_state.enabled ? "en" : "dis");
17         width = (paddr_bits - PAGE_SHIFT + 3) / 4;
18 +       if (  width > 64 ) {
19 +               width=64;
20 +       }
21  
22         for (i = 0; i < num_var_ranges; ++i) {
23                 if (mtrr_state.var_ranges[i].mask & MTRR_PHYSMASK_VALID)
This page took 0.028244 seconds and 3 git commands to generate.