Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1b024690 authored by Richard Kennedy's avatar Richard Kennedy Committed by Thomas Gleixner
Browse files

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: default avatarRichard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent b91c4996
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -115,12 +115,12 @@ struct hrtimer {
	enum hrtimer_restart		(*function)(struct hrtimer *);
	enum hrtimer_restart		(*function)(struct hrtimer *);
	struct hrtimer_clock_base	*base;
	struct hrtimer_clock_base	*base;
	unsigned long			state;
	unsigned long			state;
	enum hrtimer_cb_mode		cb_mode;
	struct list_head		cb_entry;
	struct list_head		cb_entry;
	enum hrtimer_cb_mode		cb_mode;
#ifdef CONFIG_TIMER_STATS
#ifdef CONFIG_TIMER_STATS
	int				start_pid;
	void				*start_site;
	void				*start_site;
	char				start_comm[16];
	char				start_comm[16];
	int				start_pid;
#endif
#endif
};
};