From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 18 Sep 2015 14:50:20 +0200 From: Gilles Chanteperdrix Message-ID: <20150918125020.GE7301@hermes.click-hack.org> References: <44k2rqz38u.fsf@be-well.ilk.org> <20150917133220.GB31663@hermes.click-hack.org> <20150918074633.GA7301@hermes.click-hack.org> <20150918122903.GC7301@hermes.click-hack.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Xenomai] Error code -19 List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: vibnwis Cc: xenomai@xenomai.org On Sat, Sep 19, 2015 at 12:42:11AM +1200, vibnwis wrote: > I had tried, I could not find anything associated with global_timer or > global. Hence, may I know what wording would it be? Ok, the problem is that that code was tested on omap4430 where the global timer can not be used by the mainline code. Could you try the following patch? diff --git a/drivers/clocksource/arm_global_timer.c b/drivers/clocksource/arm_global_timer.c index 04ca5d3..191422d 100644 --- a/drivers/clocksource/arm_global_timer.c +++ b/drivers/clocksource/arm_global_timer.c @@ -279,7 +279,7 @@ static void __init global_timer_of_register(struct device_node *np) gt_ppi = irq_of_parse_and_map(np, 0); if (!gt_ppi) { pr_warn("global-timer: unable to parse irq\n"); - return; + usable_timer = 0; } } -- Gilles. https://click-hack.org