Sigh.  Why do you always spot the typos *after* pressing send?

On Thu, 29 Mar 2001 00:07:02 +1000, 
Keith Owens <[EMAIL PROTECTED]> wrote:
>  copy_desired_counter_values()
>  {
>    volatile int *p_flag = /* address of flag for desired cpu */;
>    volatile __s64 *p_counter = /* address of counter for desired cpu and instance */;
>    __s64 counter; /* local copy */
>
>    do {
>      counter = *p_counter;
>    } while (!*p_flag && counter == *p_counter);
>  }

Should be while (*p_flag || counter != *p_counter);

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

Reply via email to