lkml.org 
[lkml]   [2002]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Small optimizations for UP (sched and prefetch)
> +
> +#ifndef CONFIG_SMP
> +#define spin_lock_prefetch(x)
> +#else
> +#define spin_lock_prefetch(x) prefetchw(x)
> +#endif
>

please make it
+#define spin_lock_prefetch(x) do {} while (0)

instead of an empty define...
-
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:15    [W:0.033 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site