]> err.no Git - linux-2.6/blobdiff - arch/x86/boot/boot.h
x86 setup: handle boot loaders which set up the stack incorrectly
[linux-2.6] / arch / x86 / boot / boot.h
index 20bab9431acb6e8e043d37cb45f8d7fb10f2922a..887874f4b49fa9ac900042fed96aae42467552b7 100644 (file)
 #ifndef BOOT_BOOT_H
 #define BOOT_BOOT_H
 
+#define STACK_SIZE     512     /* Minimum number of bytes for stack */
+
 #ifndef __ASSEMBLY__
 
 #include <stdarg.h>
 #include <linux/types.h>
 #include <linux/edd.h>
 #include <asm/boot.h>
-#include <asm/bootparam.h>
+#include <asm/setup.h>
 
 /* Useful macros */
 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
@@ -198,8 +200,6 @@ static inline int isdigit(int ch)
 }
 
 /* Heap -- available for dynamic lists. */
-#define STACK_SIZE     512     /* Minimum number of bytes for stack */
-
 extern char _end[];
 extern char *HEAP;
 extern char *heap_end;