lkml.org 
[lkml]   [2002]   [Mar]   [18]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 18 Mar 2002 01:03:30 -0500
FromJeff Garzik <>
SubjectRe: bit ops on unsigned long?
David S. Miller wrote:

>   From: Rusty Russell <rusty@rustcorp.com.au>
>   Date: Sat, 16 Mar 2002 14:08:08 +1100
>
>   +#ifdef CONFIG_PREEMPT
>    	/* Set the preempt count _outside_ the spinlocks! */
>    	idle->thread_info->preempt_count = (idle->lock_depth >= 0);
>   +#endif
>
>This part of your patch has to go.  Every port must
>provide the preempt_count member of thread_info regardless
>of the CONFIG_PREEMPT setting.
>

Even if the port doesn't support CONFIG_PREEMPT at all?

    Jeff






-
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 12:25    [from the cache]
©2003-2008