Re: Re: [PATCH] Common compat_sys_sysinfo

"Carlos O'Donell" <[email protected]>
Newsgroups gmane.linux.ports.hppa
Message-ID <[email protected]>
On 1/7/07, Matthew Wilcox <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.