]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86 syscall.h: fix argument order
authorRoland McGrath <roland@redhat.com>
Tue, 14 Oct 2008 01:40:04 +0000 (18:40 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 22 Oct 2008 14:56:24 +0000 (16:56 +0200)
commit746e7cef1b3de5516e07f16a448f0d2a092e3d36
treebc995074f9c359351bbf0b1707727a0b76f2f0f4
parentaef8f5b8c2da706cb3efe701e2a35e11221ea5bd
x86 syscall.h: fix argument order

Petr Tesarik noticed that I'd bungled the syscall_get_arguments code for
64-bit kernels, so it inverted the order of the syscall argument registers.
Petr wrote a patch to fix that, and I've amended it to fix the same braino
in the syscall_set_arguments code.

Original-by: Petr Tesarik <ptesarik@suse.cz>
Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/syscall.h