Re: [PATCH 1/5] MIPS: Define regs_return_value()

Ralf Baechle
2010-08-03T20:26:36Z

On Tue, Aug 03, 2010 at 11:22:18AM -0700, David Daney wrote:

> +#define regs_return_value(regs) ((regs)->regs[2])

This will probably only work if the argument happens to be "regs" otherwise
the things will likely go splat.

Ralf