lkml.org 
[lkml]   [2003]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: typecast bug in sched.c bites reschedule_idle on alpha
On Fri, Jul 18, 2003 at 02:20:43AM +0400, Ivan Kokshaysky wrote:
> On Thu, Jul 17, 2003 at 04:51:39PM -0500, Andy Isaacson wrote:
> > Since asm-alpha/timex.h defines cycles_t as unsigned int, this
> > comparison is always false. Changing it to (cycles_t)-1 fixes the
> > problem.
>
> Nice catch, Andy. Thanks.

Wasn't me, it was Bruce Keller (but I don't know if he wants his email
address plastered all over linux-kernel). I just cleaned up and
prepared a patch with bug description.

-andy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.041 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site