diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-06-22 06:06:40 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-06-23 05:22:35 -0400 |
commit | 5cee964597260237dd2cabb3ec22bba0da24b25d (patch) | |
tree | f548efb4181a4cffb026adf43178e65330533e87 /kernel | |
parent | 58394271c610e9c65dd0165a1c1f6dec75dc5f3e (diff) |
time/timers: Move all time(r) related files into kernel/time
Except for Kconfig.HZ. That needs a separate treatment.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/Makefile | 25 | ||||
-rw-r--r-- | kernel/time/Makefile | 17 | ||||
-rw-r--r-- | kernel/time/hrtimer.c (renamed from kernel/hrtimer.c) | 0 | ||||
-rw-r--r-- | kernel/time/itimer.c (renamed from kernel/itimer.c) | 0 | ||||
-rw-r--r-- | kernel/time/posix-cpu-timers.c (renamed from kernel/posix-cpu-timers.c) | 0 | ||||
-rw-r--r-- | kernel/time/posix-timers.c (renamed from kernel/posix-timers.c) | 0 | ||||
-rw-r--r-- | kernel/time/time.c (renamed from kernel/time.c) | 0 | ||||
-rw-r--r-- | kernel/time/timeconst.bc (renamed from kernel/timeconst.bc) | 0 | ||||
-rw-r--r-- | kernel/time/timer.c (renamed from kernel/timer.c) | 0 |
9 files changed, 21 insertions, 21 deletions
diff --git a/kernel/Makefile b/kernel/Makefile index f2a8b6246ce9..973a40cf8068 100644 --- a/kernel/Makefile +++ b/kernel/Makefile | |||
@@ -3,12 +3,11 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | obj-y = fork.o exec_domain.o panic.o \ | 5 | obj-y = fork.o exec_domain.o panic.o \ |
6 | cpu.o exit.o itimer.o time.o softirq.o resource.o \ | 6 | cpu.o exit.o softirq.o resource.o \ |
7 | sysctl.o sysctl_binary.o capability.o ptrace.o timer.o user.o \ | 7 | sysctl.o sysctl_binary.o capability.o ptrace.o user.o \ |
8 | signal.o sys.o kmod.o workqueue.o pid.o task_work.o \ | 8 | signal.o sys.o kmod.o workqueue.o pid.o task_work.o \ |
9 | extable.o params.o posix-timers.o \ | 9 | extable.o params.o \ |
10 | kthread.o sys_ni.o posix-cpu-timers.o \ | 10 | kthread.o sys_ni.o nsproxy.o \ |
11 | hrtimer.o nsproxy.o \ | ||
12 | notifier.o ksysfs.o cred.o reboot.o \ | 11 | notifier.o ksysfs.o cred.o reboot.o \ |
13 | async.o range.o groups.o smpboot.o | 12 | async.o range.o groups.o smpboot.o |
14 | 13 | ||
@@ -110,22 +109,6 @@ targets += config_data.h | |||
110 | $(obj)/config_data.h: $(obj)/config_data.gz FORCE | 109 | $(obj)/config_data.h: $(obj)/config_data.gz FORCE |
111 | $(call filechk,ikconfiggz) | 110 | $(call filechk,ikconfiggz) |
112 | 111 | ||
113 | $(obj)/time.o: $(obj)/timeconst.h | ||
114 | |||
115 | quiet_cmd_hzfile = HZFILE $@ | ||
116 | cmd_hzfile = echo "hz=$(CONFIG_HZ)" > $@ | ||
117 | |||
118 | targets += hz.bc | ||
119 | $(obj)/hz.bc: $(objtree)/include/config/hz.h FORCE | ||
120 | $(call if_changed,hzfile) | ||
121 | |||
122 | quiet_cmd_bc = BC $@ | ||
123 | cmd_bc = bc -q $(filter-out FORCE,$^) > $@ | ||
124 | |||
125 | targets += timeconst.h | ||
126 | $(obj)/timeconst.h: $(obj)/hz.bc $(src)/timeconst.bc FORCE | ||
127 | $(call if_changed,bc) | ||
128 | |||
129 | ############################################################################### | 112 | ############################################################################### |
130 | # | 113 | # |
131 | # Roll all the X.509 certificates that we can find together and pull them into | 114 | # Roll all the X.509 certificates that we can find together and pull them into |
diff --git a/kernel/time/Makefile b/kernel/time/Makefile index 57a413fd0ebf..e59ce8b1b550 100644 --- a/kernel/time/Makefile +++ b/kernel/time/Makefile | |||
@@ -1,3 +1,4 @@ | |||
1 | obj-y += time.o timer.o hrtimer.o itimer.o posix-timers.o posix-cpu-timers.o | ||
1 | obj-y += timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o | 2 | obj-y += timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o |
2 | obj-y += timeconv.o posix-clock.o alarmtimer.o | 3 | obj-y += timeconv.o posix-clock.o alarmtimer.o |
3 | 4 | ||
@@ -12,3 +13,19 @@ obj-$(CONFIG_TICK_ONESHOT) += tick-oneshot.o | |||
12 | obj-$(CONFIG_TICK_ONESHOT) += tick-sched.o | 13 | obj-$(CONFIG_TICK_ONESHOT) += tick-sched.o |
13 | obj-$(CONFIG_TIMER_STATS) += timer_stats.o | 14 | obj-$(CONFIG_TIMER_STATS) += timer_stats.o |
14 | obj-$(CONFIG_DEBUG_FS) += timekeeping_debug.o | 15 | obj-$(CONFIG_DEBUG_FS) += timekeeping_debug.o |
16 | |||
17 | $(obj)/time.o: $(obj)/timeconst.h | ||
18 | |||
19 | quiet_cmd_hzfile = HZFILE $@ | ||
20 | cmd_hzfile = echo "hz=$(CONFIG_HZ)" > $@ | ||
21 | |||
22 | targets += hz.bc | ||
23 | $(obj)/hz.bc: $(objtree)/include/config/hz.h FORCE | ||
24 | $(call if_changed,hzfile) | ||
25 | |||
26 | quiet_cmd_bc = BC $@ | ||
27 | cmd_bc = bc -q $(filter-out FORCE,$^) > $@ | ||
28 | |||
29 | targets += timeconst.h | ||
30 | $(obj)/timeconst.h: $(obj)/hz.bc $(src)/timeconst.bc FORCE | ||
31 | $(call if_changed,bc) | ||
diff --git a/kernel/hrtimer.c b/kernel/time/hrtimer.c index 3ab28993f6e0..3ab28993f6e0 100644 --- a/kernel/hrtimer.c +++ b/kernel/time/hrtimer.c | |||
diff --git a/kernel/itimer.c b/kernel/time/itimer.c index 8d262b467573..8d262b467573 100644 --- a/kernel/itimer.c +++ b/kernel/time/itimer.c | |||
diff --git a/kernel/posix-cpu-timers.c b/kernel/time/posix-cpu-timers.c index 3b8946416a5f..3b8946416a5f 100644 --- a/kernel/posix-cpu-timers.c +++ b/kernel/time/posix-cpu-timers.c | |||
diff --git a/kernel/posix-timers.c b/kernel/time/posix-timers.c index 424c2d4265c9..424c2d4265c9 100644 --- a/kernel/posix-timers.c +++ b/kernel/time/posix-timers.c | |||
diff --git a/kernel/time.c b/kernel/time/time.c index 7c7964c33ae7..7c7964c33ae7 100644 --- a/kernel/time.c +++ b/kernel/time/time.c | |||
diff --git a/kernel/timeconst.bc b/kernel/time/timeconst.bc index 511bdf2cafda..511bdf2cafda 100644 --- a/kernel/timeconst.bc +++ b/kernel/time/timeconst.bc | |||
diff --git a/kernel/timer.c b/kernel/time/timer.c index 3bb01a323b2a..3bb01a323b2a 100644 --- a/kernel/timer.c +++ b/kernel/time/timer.c | |||