aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hrtimer.h
diff options
context:
space:
mode:
authorRichard Kennedy <richard@rsk.demon.co.uk>2008-09-22 17:42:43 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-09-24 09:58:47 -0400
commit1b02469088ac7a13d7e622b618b7410d0f1ce5ec (patch)
treebd5622a92575314a276fc654eaa968324474abe6 /include/linux/hrtimer.h
parentb91c4996df56fcd201f85c392a1de7bc3f6641f5 (diff)
hrtimer: reorder struct hrtimer to save 8 bytes on 64bit builds
reorder struct hrtimer to save 8 bytes on 64 bit builds when CONFIG_TIMER_STATS selected. (also removes 8 bytes from signal_struct) Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/hrtimer.h')
-rw-r--r--include/linux/hrtimer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h
index 68b0196d8696..8730b60c9432 100644
--- a/include/linux/hrtimer.h
+++ b/include/linux/hrtimer.h
@@ -115,12 +115,12 @@ struct hrtimer {
115 enum hrtimer_restart (*function)(struct hrtimer *); 115 enum hrtimer_restart (*function)(struct hrtimer *);
116 struct hrtimer_clock_base *base; 116 struct hrtimer_clock_base *base;
117 unsigned long state; 117 unsigned long state;
118 enum hrtimer_cb_mode cb_mode;
119 struct list_head cb_entry; 118 struct list_head cb_entry;
119 enum hrtimer_cb_mode cb_mode;
120#ifdef CONFIG_TIMER_STATS 120#ifdef CONFIG_TIMER_STATS
121 int start_pid;
121 void *start_site; 122 void *start_site;
122 char start_comm[16]; 123 char start_comm[16];
123 int start_pid;
124#endif 124#endif
125}; 125};
126 126