[PATCH] hrtimers: remove data field
The nanosleep cleanup allows to remove the data field of hrtimer. The callback function can use container_of() to get it's own data. Since the hrtimer structure is anyway embedded in other structures, this adds no overhead. Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
df869b630d
commit
05cfb614dd
@ -96,6 +96,7 @@ static inline void add_timer(struct timer_list *timer)
|
||||
|
||||
extern void init_timers(void);
|
||||
extern void run_local_timers(void);
|
||||
extern int it_real_fn(void *);
|
||||
struct hrtimer;
|
||||
extern int it_real_fn(struct hrtimer *);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user