Re: __bad_udelay in 2.2.18pre15

From: Benjamin Herrenschmidt (bh40@calva.net)
Date: Wed Oct 11 2000 - 05:13:48 EST


>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.
>
>I spotted this case in a few PPC specific stuffs (fixable), but also in
>the sys_nanosleep code, and in the de4x5 driver.

Hrm... looks like I missed the story about the __builtin_constant_p(). Is
this a gcc-specific built-in feature ?

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/



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:17 EST