Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d62c6f093a1ef8fa5f8951e8da93c8ddd3ce193a
Commit:     d62c6f093a1ef8fa5f8951e8da93c8ddd3ce193a
Parent:     112f48716d9f292c92a033cff9e3ce7405ed4280
Author:     David S. Miller <[EMAIL PROTECTED]>
AuthorDate: Tue Mar 27 01:20:14 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Thu Apr 26 01:54:18 2007 -0700

    [SPARC64]: Fix sparc64_next_event() error return.
    
    It should return an error code not a boolean.
    
    Based upon an hpet timer fix by Thomas Gleixner.
    
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 arch/sparc64/kernel/time.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/sparc64/kernel/time.c b/arch/sparc64/kernel/time.c
index 21e3b0b..0eb8465 100644
--- a/arch/sparc64/kernel/time.c
+++ b/arch/sparc64/kernel/time.c
@@ -910,7 +910,7 @@ static struct notifier_block sparc64_cpufreq_notifier_block 
= {
 static int sparc64_next_event(unsigned long delta,
                              struct clock_event_device *evt)
 {
-       return tick_ops->add_compare(delta);
+       return tick_ops->add_compare(delta) ? -ETIME : 0;
 }
 
 static void sparc64_timer_setup(enum clock_event_mode mode,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to