Patchwork [v2,6/8] sparc64: Use linux generic time implementation

login
register
mail settings
Submitter Adhemerval Zanella Netto
Date Sept. 5, 2019, 8:56 p.m.
Message ID <20190905205620.4646-6-adhemerval.zanella@linaro.org>
Download mbox | patch
Permalink /patch/34399/
State New
Headers show

Comments

Adhemerval Zanella Netto - Sept. 5, 2019, 8:56 p.m.
There is no need to sparc64 provide an arch-specific implementation to
route to POSIX one (which uses gettimeofday).  Linux one already handles
the case for architecture that does not have __NR_time.

No semantic changes, checked against a build for sparc64-linux-gnu.

	* sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
---
 sysdeps/unix/sysv/linux/sparc/sparc64/time.c | 1 -
 1 file changed, 1 deletion(-)
 delete mode 100644 sysdeps/unix/sysv/linux/sparc/sparc64/time.c
Adhemerval Zanella Netto - Sept. 17, 2019, 2:26 p.m.
I will commit this shortly if no one opposes, after I tested on the affected
architectures.

On 05/09/2019 17:56, Adhemerval Zanella wrote:
> There is no need to sparc64 provide an arch-specific implementation to
> route to POSIX one (which uses gettimeofday).  Linux one already handles
> the case for architecture that does not have __NR_time.
> 
> No semantic changes, checked against a build for sparc64-linux-gnu.
> 
> 	* sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
> ---
>  sysdeps/unix/sysv/linux/sparc/sparc64/time.c | 1 -
>  1 file changed, 1 deletion(-)
>  delete mode 100644 sysdeps/unix/sysv/linux/sparc/sparc64/time.c
> 
> diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/time.c b/sysdeps/unix/sysv/linux/sparc/sparc64/time.c
> deleted file mode 100644
> index 509b580c55..0000000000
> --- a/sysdeps/unix/sysv/linux/sparc/sparc64/time.c
> +++ /dev/null
> @@ -1 +0,0 @@
> -#include <sysdeps/posix/time.c>
>

Patch

diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/time.c b/sysdeps/unix/sysv/linux/sparc/sparc64/time.c
deleted file mode 100644
index 509b580c55..0000000000
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/time.c
+++ /dev/null
@@ -1 +0,0 @@ 
-#include <sysdeps/posix/time.c>