[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>
Showing
- fs/exec.c 1 addition, 1 deletionfs/exec.c
- include/linux/hrtimer.h 1 addition, 4 deletionsinclude/linux/hrtimer.h
- include/linux/sched.h 1 addition, 0 deletionsinclude/linux/sched.h
- include/linux/timer.h 2 additions, 1 deletioninclude/linux/timer.h
- kernel/fork.c 1 addition, 1 deletionkernel/fork.c
- kernel/hrtimer.c 5 additions, 7 deletionskernel/hrtimer.c
- kernel/itimer.c 7 additions, 8 deletionskernel/itimer.c
- kernel/posix-timers.c 4 additions, 5 deletionskernel/posix-timers.c
Loading
Please register or sign in to comment