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.