瀏覽代碼

uml: kill x86_64 STACK_TOP_MAX

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@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Jeff Dike 18 年之前
父節點
當前提交
39a2790266
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/asm-um/a.out.h

+ 1 - 0
include/asm-um/a.out.h

@@ -5,6 +5,7 @@
 #include "choose-mode.h"
 #include "choose-mode.h"
 
 
 #undef STACK_TOP
 #undef STACK_TOP
+#undef STACK_TOP_MAX
 
 
 extern unsigned long stacksizelim;
 extern unsigned long stacksizelim;