diff options
author | David Teigland <teigland@redhat.com> | 2006-01-18 04:14:51 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-01-18 04:14:51 -0500 |
commit | 2ff4782374dde5e3d76daf8a82eae396c0f76567 (patch) | |
tree | 42cc821174a3f3f410895fce16741948a1103e66 /kernel | |
parent | cd1344fe322cd9d95b2c0f011d6766677cfcb29b (diff) | |
parent | 7eb9b2f56c9812d03ac63031869bcc42151067b1 (diff) |
Merge branch 'master'
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/Makefile | 3 | ||||
-rw-r--r-- | kernel/hrtimer.c | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/kernel/Makefile b/kernel/Makefile index 355126606d1b..4ae0fbde815d 100644 --- a/kernel/Makefile +++ b/kernel/Makefile | |||
@@ -6,7 +6,7 @@ obj-y = sched.o fork.o exec_domain.o panic.o printk.o profile.o \ | |||
6 | exit.o itimer.o time.o softirq.o resource.o \ | 6 | exit.o itimer.o time.o softirq.o resource.o \ |
7 | sysctl.o capability.o ptrace.o timer.o user.o \ | 7 | sysctl.o capability.o ptrace.o timer.o user.o \ |
8 | signal.o sys.o kmod.o workqueue.o pid.o \ | 8 | signal.o sys.o kmod.o workqueue.o pid.o \ |
9 | rcupdate.o intermodule.o extable.o params.o posix-timers.o \ | 9 | rcupdate.o extable.o params.o posix-timers.o \ |
10 | kthread.o wait.o kfifo.o sys_ni.o posix-cpu-timers.o mutex.o \ | 10 | kthread.o wait.o kfifo.o sys_ni.o posix-cpu-timers.o mutex.o \ |
11 | hrtimer.o | 11 | hrtimer.o |
12 | 12 | ||
@@ -17,6 +17,7 @@ obj-$(CONFIG_SMP) += cpu.o spinlock.o | |||
17 | obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o | 17 | obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o |
18 | obj-$(CONFIG_UID16) += uid16.o | 18 | obj-$(CONFIG_UID16) += uid16.o |
19 | obj-$(CONFIG_MODULES) += module.o | 19 | obj-$(CONFIG_MODULES) += module.o |
20 | obj-$(CONFIG_OBSOLETE_INTERMODULE) += intermodule.o | ||
20 | obj-$(CONFIG_KALLSYMS) += kallsyms.o | 21 | obj-$(CONFIG_KALLSYMS) += kallsyms.o |
21 | obj-$(CONFIG_PM) += power/ | 22 | obj-$(CONFIG_PM) += power/ |
22 | obj-$(CONFIG_BSD_PROCESS_ACCT) += acct.o | 23 | obj-$(CONFIG_BSD_PROCESS_ACCT) += acct.o |
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index 04ccab099e84..f1c4155b49ac 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c | |||
@@ -272,7 +272,7 @@ void unlock_hrtimer_base(const struct hrtimer *timer, unsigned long *flags) | |||
272 | * @interval: the interval to forward | 272 | * @interval: the interval to forward |
273 | * | 273 | * |
274 | * Forward the timer expiry so it will expire in the future. | 274 | * Forward the timer expiry so it will expire in the future. |
275 | * The number of overruns is added to the overrun field. | 275 | * Returns the number of overruns. |
276 | */ | 276 | */ |
277 | unsigned long | 277 | unsigned long |
278 | hrtimer_forward(struct hrtimer *timer, ktime_t interval) | 278 | hrtimer_forward(struct hrtimer *timer, ktime_t interval) |
@@ -641,7 +641,8 @@ schedule_hrtimer_interruptible(struct hrtimer *timer, | |||
641 | static long __sched | 641 | static long __sched |
642 | nanosleep_restart(struct restart_block *restart, clockid_t clockid) | 642 | nanosleep_restart(struct restart_block *restart, clockid_t clockid) |
643 | { | 643 | { |
644 | struct timespec __user *rmtp, tu; | 644 | struct timespec __user *rmtp; |
645 | struct timespec tu; | ||
645 | void *rfn_save = restart->fn; | 646 | void *rfn_save = restart->fn; |
646 | struct hrtimer timer; | 647 | struct hrtimer timer; |
647 | ktime_t rem; | 648 | ktime_t rem; |