diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-02 06:10:09 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-02 09:28:19 -0500 |
commit | 527087374faa488776a789375a7d6ea74fda6f71 (patch) | |
tree | 27703559da224f6cfe63e3727450da1ea4441ebb /kernel/posix-cpu-timers.c | |
parent | 81e294cba2596f5f10848bbe19d98b344c2a2d5c (diff) |
posix-timers: Cleanup namespace
Rename register_posix_clock() to posix_timers_register_clock(). That's
what the function really does. As a side effect this cleans up the
posix_clock namespace for the upcoming dynamic posix_clock
infrastructure.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Richard Cochran <richard.cochran@omicron.at>
Cc: John Stultz <johnstul@us.ibm.com>
LKML-Reference: <alpine.LFD.2.00.1102021222240.31804@localhost6.localdomain6>
Diffstat (limited to 'kernel/posix-cpu-timers.c')
-rw-r--r-- | kernel/posix-cpu-timers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/posix-cpu-timers.c b/kernel/posix-cpu-timers.c index 609e187f43e7..67fea9d25d55 100644 --- a/kernel/posix-cpu-timers.c +++ b/kernel/posix-cpu-timers.c | |||
@@ -1618,8 +1618,8 @@ static __init int init_posix_cpu_timers(void) | |||
1618 | }; | 1618 | }; |
1619 | struct timespec ts; | 1619 | struct timespec ts; |
1620 | 1620 | ||
1621 | register_posix_clock(CLOCK_PROCESS_CPUTIME_ID, &process); | 1621 | posix_timers_register_clock(CLOCK_PROCESS_CPUTIME_ID, &process); |
1622 | register_posix_clock(CLOCK_THREAD_CPUTIME_ID, &thread); | 1622 | posix_timers_register_clock(CLOCK_THREAD_CPUTIME_ID, &thread); |
1623 | 1623 | ||
1624 | cputime_to_timespec(cputime_one_jiffy, &ts); | 1624 | cputime_to_timespec(cputime_one_jiffy, &ts); |
1625 | onecputick = ts.tv_nsec; | 1625 | onecputick = ts.tv_nsec; |