OSDN Git Service

AArch64: Fix flock64 for LP64.
authorSerban Constantinescu <serban.constantinescu@arm.com>
Fri, 14 Mar 2014 13:16:25 +0000 (13:16 +0000)
committerElliott Hughes <enh@google.com>
Tue, 8 Apr 2014 19:19:23 +0000 (12:19 -0700)
commit48501af98f3cdf0115a469ee8d773cf74c42958d
treeb26893fa81d808c0f93bf8fdf966e3210948b8c2
parent0b0387c965894e235b72fa965191bf346270135d
AArch64: Fix flock64 for LP64.

On LP64 systems F_GETLK64, F_SETLK64 and F_SETLKW64 definitions should
map onto the F_GETLK, F_SETLK and F_SETLKW definitions, respectively.
LP64 also doesn't have a struct flock64.

Change-Id: Ibdfed9645d9e946999acd6efa8b96ea6238ed5bf
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
libc/include/fcntl.h
tests/fcntl_test.cpp