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 <[email protected]>
--
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;