[PATCH] hrtimers: namespace and enum cleanup
authorThomas Gleixner <tglx@linutronix.de>
Fri, 16 Feb 2007 09:27:49 +0000 (01:27 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 16 Feb 2007 16:13:58 +0000 (08:13 -0800)
commitc9cb2e3d7c9178ab75d0942f96abb3abe0369906
tree2d4a5470ece5efe82463653678c491c2f249d560
parentfd064b9b7770d5c7705bf9542950c7bd81c30f98
[PATCH] hrtimers: namespace and enum cleanup

- hrtimers did not use the hrtimer_restart enum and relied on the implict
  int representation. Fix the prototypes and the functions using the enums.
- Use seperate name spaces for the enumerations
- Convert hrtimer_restart macro to inline function
- Add comments

No functional changes.

[akpm@osdl.org: fix input driver]
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/input/touchscreen/ads7846.c
include/linux/hrtimer.h
include/linux/timer.h
kernel/fork.c
kernel/futex.c
kernel/hrtimer.c
kernel/itimer.c
kernel/posix-timers.c
kernel/rtmutex.c