[parisc-linux] Re: [PATCH] Common compat_sys_sysinfo
Matthew Wilcox
matthew at wil.cx
Sun Jan 7 15:31:30 MST 2007
On Sun, Jan 07, 2007 at 05:22:45PM -0500, Carlos O'Donell wrote:
> 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?
That seems like the same as my suggestion, except for the spelling
(syscall vs packed_args). Did I miss something?
More information about the parisc-linux
mailing list