Backed out changeset 3e9182f7e25d (bug 979913)

This commit is contained in:
Carsten "Tomcat" Book 2014-03-14 09:39:35 +01:00
parent e225b03d03
commit 6d4b8ce485

View File

@ -142,12 +142,7 @@ TLSInfoList;
* methods or do large allocations on the stack to avoid stack overflow. * methods or do large allocations on the stack to avoid stack overflow.
*/ */
#ifndef NUWA_STACK_SIZE #ifndef NUWA_STACK_SIZE
#if !defined(PAGE_SIZE) #define PAGE_SIZE 4096
#warning "PAGE_SIZE not defined, using 4096 bytes"
#define PAGE_SIZE 4096ul
#elif PAGE_SIZE != 4096ul
#warning "System page size not 4096 bytes"
#endif
#define PAGE_ALIGN_MASK 0xfffff000 #define PAGE_ALIGN_MASK 0xfffff000
#define NUWA_STACK_SIZE (1024 * 128) #define NUWA_STACK_SIZE (1024 * 128)
#endif #endif