Greg Ungerer <[email protected]> writes:

> Given the original code is:
>
>   asmlinkage int do_sigreturn(unsigned long __unused)
>   {
>         struct switch_stack *sw = (struct switch_stack *) &__unused;
>         struct pt_regs *regs = (struct pt_regs *) (sw + 1);
>
> So gcc is determining that what sw and regs points to are
> part of do_sigreturn() parameters here?

It's basically what varags used to do.

Andreas.

-- 
Andreas Schwab, [email protected]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to