Re: Question regarding switch_to on x86
From: Brian Gerst
Date: Sat May 08 2004 - 09:13:18 EST
read lkml wrote:
Hi,
Could anyone please explain to me (or point me to some
documentation) the need for the 3rd argument in the
switch_to macro on x86? Why is it
switch_to(prev, next, last)? how are prev and last
different?
Thanks
last is actually a return value. Since switch_to() switches stacks,
last must be passed through in a register.
--
Brian Gerst
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/