<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
From Andi Kleen

Random x86_64 fixlets


 arch/x86_64/boot/compressed/head.S |    1 +
 arch/x86_64/boot/compressed/misc.c |    1 +
 include/linux/config.h             |    2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

diff -puN arch/x86_64/boot/compressed/head.S~x86_64-fixes arch/x86_64/boot/compressed/head.S
--- 25/arch/x86_64/boot/compressed/head.S~x86_64-fixes	2003-06-26 17:33:33.000000000 -0700
+++ 25-akpm/arch/x86_64/boot/compressed/head.S	2003-06-26 17:33:33.000000000 -0700
@@ -26,6 +26,7 @@
 .code32
 .text
 
+#define IN_BOOTLOADER
 #include &lt;linux/linkage.h&gt;
 #include &lt;asm/segment.h&gt;
 
diff -puN arch/x86_64/boot/compressed/misc.c~x86_64-fixes arch/x86_64/boot/compressed/misc.c
--- 25/arch/x86_64/boot/compressed/misc.c~x86_64-fixes	2003-06-26 17:33:33.000000000 -0700
+++ 25-akpm/arch/x86_64/boot/compressed/misc.c	2003-06-26 17:33:33.000000000 -0700
@@ -9,6 +9,7 @@
  * High loaded stuff by Hans Lermen &amp; Werner Almesberger, Feb. 1996
  */
 
+#define IN_BOOTLOADER
 #include "miscsetup.h"
 #include &lt;asm/io.h&gt;
 
diff -puN include/linux/config.h~x86_64-fixes include/linux/config.h
--- 25/include/linux/config.h~x86_64-fixes	2003-06-26 17:33:33.000000000 -0700
+++ 25-akpm/include/linux/config.h	2003-06-26 17:33:33.000000000 -0700
@@ -2,7 +2,7 @@
 #define _LINUX_CONFIG_H
 
 #include &lt;linux/autoconf.h&gt;
-#ifdef CONFIG_X86
+#if defined(__i386__) &amp;&amp; !defined(IN_BOOTLOADER)
 #include &lt;asm/kgdb.h&gt;
 #endif
 

_
</pre></body></html>