correct the syscall return type

Long size syscall return values such as shmat()'s and lseek()'s are
broken, because lower 32 bits are only returned.
This commit is contained in:
NAKAMURA Gou
2014-01-31 20:31:37 +09:00
parent 93c5385f65
commit fcbaa9726c
3 changed files with 3 additions and 3 deletions

View File

@@ -151,7 +151,7 @@ static void send_syscall(struct syscall_request *req, int cpu)
}
int do_syscall(struct syscall_request *req, ihk_mc_user_context_t *ctx, int cpu)
long do_syscall(struct syscall_request *req, ihk_mc_user_context_t *ctx, int cpu)
{
struct syscall_response *res;
struct syscall_request req2 IHK_DMA_ALIGN;