lkml.org 
[lkml]   [2007]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: syscall macro fails upon compilation
Andi Kleen wrote:
>> They were *always* broken for 64-bit arguments on 32-bit machines, however.
>
> Well syscall() doesn't support that at all (unless you split by hand)
>

On i386 it just happens to work, because the calling convention is
equivalent. On some other 32-bit platforms it works that way as well;
on others, it fails.

To do it right you need a proper assembly stub generator.

-hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-06 19:21    [W:0.028 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site