[parisc-linux] Re: [PATCH] Common compat_sys_sysinfo

Carlos O'Donell carlos at systemhalted.org
Sun Jan 7 15:22:45 MST 2007


On 1/7/07, Matthew Wilcox <matthew at wil.cx> wrote:
> I think the Right Way to fix this is for some gcc hacker to implement an
> __attribute__((packed_args)) that changes the calling convention for
> that function, then we can define asmlinkage to use that on mips and
> parisc.
>
> Any budding gcc hackers out there?  ;-)

The kernel syscall interface is by definition a different calling
convention. On parisc the arguments are packed, and we have 6 argument
registers. Would it be more usefull to say "__attribute__((syscall))"
and let the compiler DTRT?

I'm sure this has been proposed by someone else?

c.



More information about the parisc-linux mailing list