Re: [PATCH] CRISv10 improve and bugfix fasttimer

2007-11-14 Thread Jesper Nilsson
On Mon, Nov 12, 2007 at 04:44:56PM +0100, Jesper Nilsson wrote: > On Fri, Nov 09, 2007 at 03:19:32PM -0800, Andrew Morton wrote: > > > if (timeval_cmp(&t->tv_expires, &tv) <= 0) > > > > You have a private timeval_cmp(). Please take a look at utilising > > include/linux/time.h:timeval_compare(

Re: [PATCH] CRISv10 improve and bugfix fasttimer

2007-11-12 Thread Jesper Nilsson
On Fri, Nov 09, 2007 at 03:19:32PM -0800, Andrew Morton wrote: > On Thu, 8 Nov 2007 09:54:30 +0100 > Jesper Nilsson <[EMAIL PROTECTED]> wrote: > > > Improve and bugfix CRIS v10 fast timers. > > I'm trying to work out what's going on with all this cris activity. Is the > current code really that

Re: [PATCH] CRISv10 improve and bugfix fasttimer

2007-11-09 Thread Andrew Morton
On Thu, 8 Nov 2007 09:54:30 +0100 Jesper Nilsson <[EMAIL PROTECTED]> wrote: > Improve and bugfix CRIS v10 fast timers. I'm trying to work out what's going on with all this cris activity. Is the current code really that busted, or are you adding new chip support, or are you resyncing mainline wit

[PATCH] CRISv10 improve and bugfix fasttimer

2007-11-08 Thread Jesper Nilsson
Improve and bugfix CRIS v10 fast timers. - irq_handler_t now only takes two arguments. - Keep interrupts disabled as long as we have a reference to the fasttimer list and only enable them while doing the callback. del_fast_timer may be called from other interrupt context. - Fix bug where debug