Messages in this thread | | | Date | Sat, 08 May 2004 10:14:35 -0400 | From | Brian Gerst <> | Subject | Re: Question regarding switch_to on x86 |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |