switch_to is called in context_switch as follows:
switch_to(prev, next, prev);
At the moment it doesn't matter but thinking about the
meaning of the parameter names your are probably right.
This should better be last = resume(prev, next).
blue skies,
Martin
-
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/