aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/time.c
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-10-16 04:27:22 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 12:43:08 -0400
commita2f018bf389422a55f1455ab8b9b5eedc5ea1803 (patch)
tree50f93a3c8892a89fbc981a7ac8d3566131f9fb84 /arch/um/kernel/time.c
parent181bde801afae4304843ce95c868d4419ae87310 (diff)
uml: simplify interval setting
set_interval took a timer type as an argument, but it always specified a virtual timer. So, it is not needed, and it is gone, and set_interval is simplified appropriately. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/kernel/time.c')
-rw-r--r--arch/um/kernel/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/time.c b/arch/um/kernel/time.c
index 633b673d5778..2bda07dcd345 100644
--- a/arch/um/kernel/time.c
+++ b/arch/um/kernel/time.c
@@ -102,7 +102,7 @@ static void register_timer(void)
102 printk(KERN_ERR "register_timer : request_irq failed - " 102 printk(KERN_ERR "register_timer : request_irq failed - "
103 "errno = %d\n", -err); 103 "errno = %d\n", -err);
104 104
105 err = set_interval(1); 105 err = set_interval();
106 if (err != 0) 106 if (err != 0)
107 printk(KERN_ERR "register_timer : set_interval failed - " 107 printk(KERN_ERR "register_timer : set_interval failed - "
108 "errno = %d\n", -err); 108 "errno = %d\n", -err);