[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 07/25] linux-user/sparc: Merge sparc64 target_syscall.h
From: |
Laurent Vivier |
Subject: |
Re: [PATCH v2 07/25] linux-user/sparc: Merge sparc64 target_syscall.h |
Date: |
Mon, 17 May 2021 12:21:23 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 |
On 26/04/2021 04:53, Richard Henderson wrote:
> There are only a few differences in sparc32 vs sparc64.
> This fixes target_shmlba for sparc32plus, which is v9.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> linux-user/sparc/target_syscall.h | 42 +++++++++++++++++++++--------
> linux-user/sparc64/target_syscall.h | 36 +------------------------
> 2 files changed, 32 insertions(+), 46 deletions(-)
>
> diff --git a/linux-user/sparc/target_syscall.h
> b/linux-user/sparc/target_syscall.h
> index d8ea04ea83..15d531f389 100644
> --- a/linux-user/sparc/target_syscall.h
> +++ b/linux-user/sparc/target_syscall.h
> @@ -3,18 +3,34 @@
...
> -#define UNAME_MACHINE "sparc"
> +#ifdef TARGET_SPARC64
> +# define UNAME_MACHINE "sparc64"
> +#else
> +# define UNAME_MACHINE "sparc"
> +#endif
> #define UNAME_MINIMUM_RELEASE "2.6.32"
Is it intended to have now an uname defined to "sparc64" with sparc32plus?
(it was "sparc" before this change).
Thanks,
Laurent
- Re: [PATCH v2 07/25] linux-user/sparc: Merge sparc64 target_syscall.h,
Laurent Vivier <=