Code Review
/
linux-3.10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[PATCH] auxiliary vector cleanups
[linux-3.10.git]
/
include
/
linux
/
sched.h
diff --git
a/include/linux/sched.h
b/include/linux/sched.h
index 5fb31bede1036c378e759391573631e06c56e41c..b5a22ea800456b8e21c06885b1370183655dcf7e 100644
(file)
--- a/
include/linux/sched.h
+++ b/
include/linux/sched.h
@@
-35,6
+35,8
@@
#include <linux/topology.h>
#include <linux/seccomp.h>
#include <linux/topology.h>
#include <linux/seccomp.h>
+#include <linux/auxvec.h> /* For AT_VECTOR_SIZE */
+
struct exec_domain;
/*
struct exec_domain;
/*
@@
-261,7
+263,7
@@
struct mm_struct {
mm_counter_t _rss;
mm_counter_t _anon_rss;
mm_counter_t _rss;
mm_counter_t _anon_rss;
- unsigned long saved_auxv[
42
]; /* for /proc/PID/auxv */
+ unsigned long saved_auxv[
AT_VECTOR_SIZE
]; /* for /proc/PID/auxv */
unsigned dumpable:2;
cpumask_t cpu_vm_mask;
unsigned dumpable:2;
cpumask_t cpu_vm_mask;