Commit cd14f72a authored by Jeff Dike's avatar Jeff Dike

Changed CONFIG_KERNEL_STACK_ORDER to UML_CONFIG_KERNEL_STACK_ORDER.

parent f8253ce0
...@@ -95,7 +95,7 @@ void task_protections(unsigned long address) ...@@ -95,7 +95,7 @@ void task_protections(unsigned long address)
if(mprotect((void *) stack, page_size(), prot) < 0) if(mprotect((void *) stack, page_size(), prot) < 0)
panic("protecting guard page failed, errno = %d", errno); panic("protecting guard page failed, errno = %d", errno);
#endif #endif
pages = (1 << CONFIG_KERNEL_STACK_ORDER) - 2; pages = (1 << UML_CONFIG_KERNEL_STACK_ORDER) - 2;
prot = PROT_READ | PROT_WRITE | PROT_EXEC; prot = PROT_READ | PROT_WRITE | PROT_EXEC;
if(mprotect((void *) stack, pages * page_size(), prot) < 0) if(mprotect((void *) stack, pages * page_size(), prot) < 0)
panic("protecting stack failed, errno = %d", errno); panic("protecting stack failed, errno = %d", errno);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment