summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/resource.h6
-rw-r--r--include/linux/sched.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/resource.h b/include/linux/resource.h
index 0b7585f25d4b..94494789e0af 100644
--- a/include/linux/resource.h
+++ b/include/linux/resource.h
@@ -50,6 +50,12 @@ struct rlimit {
#define PRIO_USER 2
/*
+ * Limit the stack by to some sane default: root can always
+ * increase this limit if needed.. 8MB seems reasonable.
+ */
+#define _STK_LIM (8*1024*1024)
+
+/*
* Due to binary compatibility, the actual resource numbers
* may be different for different linux versions..
*/
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 4a376728f5c2..c26b6d0d8d7a 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -440,12 +440,6 @@ do { if (atomic_dec_and_test(&(tsk)->usage)) __put_task_struct(tsk); } while(0)
#define PT_TRACE_CLONE 0x00000040
#define PT_TRACE_EXEC 0x00000080
-/*
- * Limit the stack by to some sane default: root can always
- * increase this limit if needed.. 8MB seems reasonable.
- */
-#define _STK_LIM (8*1024*1024)
-
#if CONFIG_SMP
extern void set_cpus_allowed(task_t *p, unsigned long new_mask);
#else