From: Richard Kennedy Date: Mon, 22 Sep 2008 21:42:43 +0000 (-0700) Subject: hrtimer: reorder struct hrtimer to save 8 bytes on 64bit builds X-Git-Tag: v2.6.28-rc1~82^2^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1b02469088ac7a13d7e622b618b7410d0f1ce5ec;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Andrew Morton Signed-off-by: Thomas Gleixner --- diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index 68b0196d869..8730b60c943 100644 --- a/include/linux/hrtimer.h +++ b/include/linux/hrtimer.h @@ -115,12 +115,12 @@ struct hrtimer { enum hrtimer_restart (*function)(struct hrtimer *); struct hrtimer_clock_base *base; unsigned long state; - enum hrtimer_cb_mode cb_mode; struct list_head cb_entry; + enum hrtimer_cb_mode cb_mode; #ifdef CONFIG_TIMER_STATS + int start_pid; void *start_site; char start_comm[16]; - int start_pid; #endif };