Module: xenomai-gch
Branch: for-forge
Commit: ba440f89ab689e5d0cf9da4c34fc1b5911313a56
URL:    
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=ba440f89ab689e5d0cf9da4c34fc1b5911313a56

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Sun Apr  1 20:19:51 2012 +0200

arm: fix hal after ipipe_timer_start signature change

---

 kernel/cobalt/arch/arm/hal.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/kernel/cobalt/arch/arm/hal.c b/kernel/cobalt/arch/arm/hal.c
index 1609957..b0cd49a 100644
--- a/kernel/cobalt/arch/arm/hal.c
+++ b/kernel/cobalt/arch/arm/hal.c
@@ -220,14 +220,11 @@ int rthal_timer_request(
        unsigned long dummy, *tmfreq = &dummy;
        int tickval, ret;
 
-       if (rthal_timerfreq_arg == 0)
-               tmfreq = &rthal_archdata.timer_freq;
-
 #ifndef CONFIG_IPIPE_CORE
        ret = ipipe_request_tickdev(RTHAL_TIMER_DEVICE, mode_emul, tick_emul, 
cpu,
                                    tmfreq);
 #else /* I-ipipe timers */
-       ret = ipipe_timer_start(tick_handler, mode_emul, tick_emul, cpu, 
tmfreq);
+       ret = ipipe_timer_start(tick_handler, mode_emul, tick_emul, cpu);
 #endif /* I-ipipe timers */
        switch (ret) {
        case CLOCK_EVT_MODE_PERIODIC:
@@ -361,6 +358,5 @@ void rthal_arch_cleanup(void)
 #ifdef CONFIG_IPIPE_CORE
        ipipe_timers_release();
 #endif /* CONFIG_IPIPE_CORE */
-       /* Nothing to cleanup so far. */
        printk(KERN_INFO "Xenomai: hal/arm stopped.\n");
 }


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to