x86: syscall_get_nr returns int
authorRoland McGrath <roland@redhat.com>
Wed, 23 Sep 2009 02:57:51 +0000 (19:57 -0700)
committerRoland McGrath <roland@redhat.com>
Wed, 23 Sep 2009 02:57:51 +0000 (19:57 -0700)
commit18c1e2c80d92adca50ffc654617639a4aa35f29c
tree7673fb1f3b98ccc3c1ded9cacbf24894fefd99b2
parent268e46712d57a6493cc0f98e7d200a0f674c31ed
x86: syscall_get_nr returns int

Make syscall_get_nr() return int, so we always sign-extend
the low 32 bits of orig_ax in checks.

Signed-off-by: Roland McGrath <roland@redhat.com>
arch/x86/include/asm/syscall.h