aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorRichard Kennedy <richard@rsk.demon.co.uk>2008-08-01 08:24:08 -0400
committerIngo Molnar <mingo@elte.hu>2008-08-15 11:15:23 -0400
commitbee367ed066e26c14263d808136fba8eec3bd70a (patch)
tree425640a0eb89b2408e1c014a2d6dc29d8ec17000 /include/linux/sched.h
parent07dd20e0324f4d3e33bde1944d4f7771a09c498c (diff)
sched: reorder struct sched_rt_entity to remove padding on 64 bit builds
remove 8 bytes of padding on 64 bit builds (also removes 8 bytes from task_struct) Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 5a8058e44f58..08a87b5f29e1 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1010,8 +1010,8 @@ struct sched_entity {
1010 1010
1011struct sched_rt_entity { 1011struct sched_rt_entity {
1012 struct list_head run_list; 1012 struct list_head run_list;
1013 unsigned int time_slice;
1014 unsigned long timeout; 1013 unsigned long timeout;
1014 unsigned int time_slice;
1015 int nr_cpus_allowed; 1015 int nr_cpus_allowed;
1016 1016
1017 struct sched_rt_entity *back; 1017 struct sched_rt_entity *back;