Thread (4 messages) flat view 4 messages, 2 authors, 2008-07-08

Re: powerpc: fix swapcontext backwards compatibility due to VSX ucontext changes

From: Paul Mackerras <hidden>
Date: 2008-07-04 11:08:01

Michael Neuling writes:
+	    /*
+	     * If userspace doesn't provide enough room for VSX data,
+	     * but current thread has used VSX, we don't have anywhere
+	     * to store the full context back into.
+	     */
+		((ctx_size < sizeof(struct ucontext)) &&
+		 (regs->msr & MSR_VSX) && old_ctx) ||
I think we need to check current->thread.used_vsr rather than
regs->msr here (in both instances of this code).

Paul.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help