Re: [patch] sti() preemption fix, 2.5.22

Linus Torvalds (torvalds@transmeta.com)
Mon, 17 Jun 2002 10:04:09 -0700 (PDT)


On Mon, 17 Jun 2002, Ingo Molnar wrote:
>
> correct patch attached.

Ingo, please use "get_cpu()/put_cpu()" instead, which does exactly the
preempt-disable etc, and is more readable.

Linus

-
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/