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. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev