]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
hrtimer: reorder struct hrtimer to save 8 bytes on 64bit builds
authorRichard Kennedy <richard@rsk.demon.co.uk>
Mon, 22 Sep 2008 21:42:43 +0000 (14:42 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 24 Sep 2008 13:58:47 +0000 (15:58 +0200)
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>
include/linux/hrtimer.h

index 68b0196d8696ec83dbc1b817b130d997fa88d340..8730b60c94327a413f1395f9094983fe9bf37c48 100644 (file)
@@ -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
 };