diff options
author | cl349@firebug.cl.cam.ac.uk[cl349] <cl349@firebug.cl.cam.ac.uk[cl349]> | 2005-04-02 20:27:11 +0000 |
---|---|---|
committer | cl349@firebug.cl.cam.ac.uk[cl349] <cl349@firebug.cl.cam.ac.uk[cl349]> | 2005-04-02 20:27:11 +0000 |
commit | 72b1fd4c802c7f0df78ca89f6f273e3bcbd2d7e7 (patch) | |
tree | 5e0235dfe1091ca656224701f0ac329b12494116 /patches | |
parent | 22449341238b4a64c9550621b1da06ac13814770 (diff) | |
download | xen-72b1fd4c802c7f0df78ca89f6f273e3bcbd2d7e7.tar.gz xen-72b1fd4c802c7f0df78ca89f6f273e3bcbd2d7e7.tar.bz2 xen-72b1fd4c802c7f0df78ca89f6f273e3bcbd2d7e7.zip |
bitkeeper revision 1.1236.54.1 (424f001fylJD_smguTvRssBAMspunA)
First code drop for x86-64 support; further clenaups still required.
Signed-Off-By: Asit Mallick <asit.k.mallick@intel.com>
Signed-Off-By: Arun Sharma <arun.sharma@intel.com>
Signed-Off-By: Benjamin Liu <Benjamin.liu@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/linux-2.6.11/x86_64-linux.patch | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/patches/linux-2.6.11/x86_64-linux.patch b/patches/linux-2.6.11/x86_64-linux.patch new file mode 100644 index 0000000000..82ab190d11 --- /dev/null +++ b/patches/linux-2.6.11/x86_64-linux.patch @@ -0,0 +1,66 @@ +diff -urN linux-2.6.10-orig/include/asm-x86_64/hw_irq.h linux-2.6.10/include/asm-x86_64/hw_irq.h +--- linux-2.6.10-orig/include/asm-x86_64/hw_irq.h 2005-01-06 00:34:38.000000000 -0500 ++++ linux-2.6.10/include/asm-x86_64/hw_irq.h 2005-02-25 17:45:37.181518088 -0500 +@@ -48,6 +48,7 @@ + * + * Vectors 0xf0-0xf9 are free (reserved for future Linux use). + */ ++#if 0 + #define SPURIOUS_APIC_VECTOR 0xff + #define ERROR_APIC_VECTOR 0xfe + #define INVALIDATE_TLB_VECTOR 0xfd +@@ -57,7 +58,7 @@ + #define KDB_VECTOR 0xf9 + + #define THERMAL_APIC_VECTOR 0xf0 +- ++#endif + + /* + * Local APIC timer IRQ vector is on a different priority level, +diff -urN linux-2.6.10-orig/include/asm-x86_64/irq.h linux-2.6.10/include/asm-x86_64/irq.h +--- linux-2.6.10-orig/include/asm-x86_64/irq.h 2005-01-06 00:34:38.000000000 -0500 ++++ linux-2.6.10/include/asm-x86_64/irq.h 2005-02-25 17:45:37.181518088 -0500 +@@ -10,6 +10,7 @@ + * <tomsoft@informatik.tu-chemnitz.de> + */ + ++#include "irq_vectors.h" + #define TIMER_IRQ 0 + + /* +@@ -22,6 +23,7 @@ + * the usable vector space is 0x20-0xff (224 vectors) + */ + ++#if 0 + /* + * The maximum number of vectors supported by x86_64 processors + * is limited to 256. For processors other than x86_64, NR_VECTORS +@@ -38,6 +40,7 @@ + #define NR_IRQS 224 + #define NR_IRQ_VECTORS 1024 + #endif ++#endif + + static __inline__ int irq_canonicalize(int irq) + { +diff -urN linux-2.6.10-orig/include/asm-x86_64/posix_types.h linux-2.6.10/include/asm-x86_64/posix_types.h +--- linux-2.6.10-orig/include/asm-x86_64/posix_types.h 2004-10-18 17:55:29.000000000 -0400 ++++ linux-2.6.10/include/asm-x86_64/posix_types.h 2005-02-25 17:45:37.183517784 -0500 +@@ -6,7 +6,7 @@ + * be a little careful about namespace pollution etc. Also, we cannot + * assume GCC is being used. + */ +- ++#ifndef __ASSEMBLY__ + typedef unsigned long __kernel_ino_t; + typedef unsigned int __kernel_mode_t; + typedef unsigned long __kernel_nlink_t; +@@ -115,5 +115,5 @@ + } + + #endif /* defined(__KERNEL__) */ +- ++#endif + #endif |