[LTP] [PATCH] Fix sync_file_range for Mips

Jan Stancek jstancek@redhat.com
Mon Oct 3 14:02:40 CEST 2016



----- Original Message -----
> From: "Dejan Jovicevic" <dejan.jovicevic@rt-rk.com>
> To: ltp@lists.linux.it
> Sent: Monday, 3 October, 2016 1:06:46 PM
> Subject: [LTP]  [PATCH] Fix sync_file_range for Mips
> 
> For Mips there is a second argument which is actually a padding.
> This can be confirmed in glibc.

<glibc>/sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c or [1]:

    LONG LONG in 32-bit mode:
	If GR > r10, go to STACK.  Otherwise, if GR is odd, advance
	GR to the next register.  Load the 64-bit long long value into
	register pair GR and GR+1.  Advance GR to GR+2 and go to SCAN.

Pushed with slightly modified commit message. Please include
Signed-off-by line in future.

Thanks,
Jan

[1] http://www.cygwin.com/ml/binutils/2003-06/msg00436.html


More information about the ltp mailing list