[PATCH 2/2] UML - kill x86_64 STACK_TOP_MAX

From: Jeff Dike
Date: Tue Jun 12 2007 - 12:48:34 EST


The x86_64 a.out.h got a definition of STACK_TOP_MAX, which interferes
with the UML version. So, just undef it like STACK_TOP.

Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxxxxxx>
--
include/asm-um/a.out.h | 1 +
1 file changed, 1 insertion(+)

Index: linux-2.6.21-mm/include/asm-um/a.out.h
===================================================================
--- linux-2.6.21-mm.orig/include/asm-um/a.out.h 2007-06-06 09:28:48.000000000 -0400
+++ linux-2.6.21-mm/include/asm-um/a.out.h 2007-06-06 15:51:02.000000000 -0400
@@ -5,6 +5,7 @@
#include "choose-mode.h"

#undef STACK_TOP
+#undef STACK_TOP_MAX

extern unsigned long stacksizelim;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/