unmodified_drivers: remove inclusion of asm/system.h
PATCH 1/1 unmodified_drivers: remove inclusion of asm/system.h
# HG changeset patch
# User Olaf Hering <[email protected]>
# Date 1336743357 -7200
# Node ID f81fa4014d8c66bd1a80e4914c5d777cbdb343d1 # Parent 0f53540494f779a1260d4e5319dcdb268389dd07unmodified_drivers: remove inclusion of asm/system.h
Allow compilation of PVonHVM drivers with forward-ported xenlinux sources in openSuSE 12.2. Since Linux 3.4 asm/system.h is not present anymore. Remove inclusion of this header, its not needed.
unmodified_drivers/linux-2.6/platform-pci/platform-pci.c +0 -1
@@ -30,7 +30,6 @@#include <linux/interrupt.h> #include <linux/vmalloc.h> #include <linux/mm.h> -#include <asm/system.h> #include <asm/io.h> #include <asm/irq.h> #include <asm/uaccess.h>
Quoted 10 lines · Olaf Hering
# HG changeset patch
# User Olaf Hering <[email protected]>
# Date 1336743357 -7200
# Node IDf81fa4014d8c66bd1a80e4914c5d777cbdb343d1# Parent0f53540494f779a1260d4e5319dcdb268389dd07unmodified_drivers: remove inclusion ofasm/system.hAllow compilation of PVonHVM drivers with forward-ported xenlinux sources in openSuSE 12.2. Since Linux 3.4
asm/system.his not present anymore. Remove inclusion of this header, its not needed.
It is not needed for 3.4 or it is not needed for any historical Linux version which these drivers are supposed to be built against? What kernels have you build tested?
Ian.
Quoted 18 lines
Signed-off-by Olaf Hering <[email protected]>diff -r
0f53540494f7-rf81fa4014d8cunmodified_drivers/linux-2.6/platform-pci/platform-pci.cunmodified_drivers/linux-2.6/platform-pci/platform-pci.c +0
-1@@ -30,7 +30,6 @@#include <linux/interrupt.h> #include <linux/vmalloc.h> #include <linux/mm.h> -#include <asm/system.h> #include <asm/io.h> #include <asm/irq.h> #include <asm/uaccess.h> _______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 8 lines · Ian Campbell
Quoted 7 lines · Olaf Hering
# HG changeset patch
# User Olaf Hering <[email protected]>
# Date 1336743357 -7200
# Node IDf81fa4014d8c66bd1a80e4914c5d777cbdb343d1# Parent0f53540494f779a1260d4e5319dcdb268389dd07unmodified_drivers: remove inclusion ofasm/system.h
Quoted 7 lines
Quoted 3 lines
Allow compilation of PVonHVM drivers with forward-ported xenlinux sources in openSuSE 12.2. Since Linux 3.4
asm/system.his not present anymore. Remove inclusion of this header, its not needed.It is not needed for 3.4 or it is not needed for any historical Linux version which these drivers are supposed to be built against? What kernels have you build tested?
asm/system.h does not need to be included.
I tested it with sles11sp1+2, opensuse 11.2, 11.4, 12.1 and 12.2. I have not tested it with a plain linux-2.6.18-xen.hg, but I suspect it should work there too.
Olaf
Quoted 15 lines
Quoted 1 line
Quoted 1 line · Olaf Hering
Quoted 12 lines · Ian Campbell
Quoted 10 lines · Olaf Hering
# HG changeset patch
# User Olaf Hering <[email protected]>
# Date 1336743357 -7200
# Node IDf81fa4014d8c66bd1a80e4914c5d777cbdb343d1# Parent0f53540494f779a1260d4e5319dcdb268389dd07unmodified_drivers: remove inclusion ofasm/system.hAllow compilation of PVonHVM drivers with forward-ported xenlinux sources in openSuSE 12.2. Since Linux 3.4
asm/system.his not present anymore. Remove inclusion of this header, its not needed.
Quoted 8 lines
Quoted 3 lines
It is not needed for 3.4 or it is not needed for any historical Linux version which these drivers are supposed to be built against? What kernels have you build tested?
asm/system.hdoes not need to be included.
I tested it with sles11sp1+2, opensuse 11.2, 11.4, 12.1 and 12.2. I have not tested it with a plain linux-2.6.18-xen.hg, but I suspect it should work there too.
I did before pushing it, and it's okay there too.
Jan