lkml.org 
[lkml]   [2000]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: __bad_udelay in 2.2.18pre15
Date
>> 
>> Well, at first, I wanted to implement it the same way on PPC. However, it
>> dies on all occurences where udelay is called with a non-constant
>expression.
>
>__builtin_constant_p means non constant expressions will always call udelay
>
>> I spotted this case in a few PPC specific stuffs (fixable), but also in
>> the sys_nanosleep code, and in the de4x5 driver.
>
>I'll check these two

Forget about them. It was my non-understanding of __builtin_constant_p()
that was causing me the problem. I fixed a few >20000 udelay's (replacing
them with mdelay) in some PPC specific code. I'll send you some patches
later, I have to extract them from my tree. Well... would you accept a
huge pile of PPC patches for 2.2.18 in this case, I can send you my
current diffs (with a bit of cleanup) ?
Those contain almost only pmac-specific stuffs (support for new machines,
sleep fixes, and a few more fixes here or there).

Ben.

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

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.055 / U:3.076 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site