asm-generic: syscall_get_nr returns int
authorRoland McGrath <roland@redhat.com>
Wed, 23 Sep 2009 02:56:50 +0000 (19:56 -0700)
committerRoland McGrath <roland@redhat.com>
Wed, 23 Sep 2009 02:56:50 +0000 (19:56 -0700)
commit268e46712d57a6493cc0f98e7d200a0f674c31ed
treeec5c12f5fa710646482fc822b6d7d635453dd3f4
parent7fa07729e439a6184bd824746d06a49cca553f15
asm-generic: syscall_get_nr returns int

Only 32 bits of system call number are meaningful, so make the
specification for syscall_get_nr() be to return int, not long.

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