> +/*
> + * Here is an SMP helping macro...
> + */
> +#ifdef CONFIG_SMP
> +#define IF_SMP(a) a
> +#else
> +#define IF_SMP(a)
> +#endif
ehmmmmm personally I would consider any need of this ugly and evil
> + IF_SMP(if (old_base && (new_base != old_base))
> + spin_unlock(&old_base->lock);
> + )
Like here..... SMP dependent ifdef's of spinlock usage... shudder
-
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/