Skip to content

Commit

Permalink
Move timekeeping code to timekeeping.c
Browse files Browse the repository at this point in the history
Move the timekeeping code out of kernel/timer.c and into
kernel/time/timekeeping.c.  I made no cleanups or other changes in transit.

[akpm@linux-foundation.org: build fix]
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
john stultz authored and Linus Torvalds committed May 8, 2007
1 parent 329c8d8 commit 8524070
Show file tree
Hide file tree
Showing 4 changed files with 479 additions and 459 deletions.
1 change: 1 addition & 0 deletions include/linux/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ extern void getnstimeofday(struct timespec *tv);

extern struct timespec timespec_trunc(struct timespec t, unsigned gran);
extern int timekeeping_is_continuous(void);
extern void update_wall_time(void);

/**
* timespec_to_ns - Convert timespec to nanoseconds
Expand Down
2 changes: 1 addition & 1 deletion kernel/time/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
obj-y += ntp.o clocksource.o jiffies.o timer_list.o
obj-y += timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o

obj-$(CONFIG_GENERIC_CLOCKEVENTS) += clockevents.o
obj-$(CONFIG_GENERIC_CLOCKEVENTS) += tick-common.o
Expand Down
Loading

0 comments on commit 8524070

Please sign in to comment.