Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2022 06:50:11 -0600
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        Li-Wen Hsu <lwhsu@FreeBSD.org>
Cc:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: 62b4e25f058b - main - powerpc: Fix syntax atomic.h
Message-ID:  <20220114064954.4154a036@ralga-linux>
In-Reply-To: <202201141112.20EBCQCf037364@gitrepo.freebsd.org>
References:  <202201141112.20EBCQCf037364@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 14 Jan 2022 11:12:26 GMT
Li-Wen Hsu <lwhsu@FreeBSD.org> wrote:

> The branch main has been updated by lwhsu:
> 
> URL:
> https://cgit.FreeBSD.org/src/commit/?id=62b4e25f058b9820c8bf61e4664aa82428b0303b
> 
> commit 62b4e25f058b9820c8bf61e4664aa82428b0303b
> Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
> AuthorDate: 2022-01-14 11:11:22 +0000
> Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
> CommitDate: 2022-01-14 11:11:22 +0000
> 
>     powerpc: Fix syntax atomic.h
>     
>     Fixes:  b5d227b0b27 powerpc: Add
> atomic_testand_{set,clear}_{int,long} ---
>  sys/powerpc/include/atomic.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/sys/powerpc/include/atomic.h
> b/sys/powerpc/include/atomic.h index 0d54ba4115c7..deb53173418f 100644
> --- a/sys/powerpc/include/atomic.h
> +++ b/sys/powerpc/include/atomic.h
> @@ -1078,13 +1078,13 @@ atomic_testandclear_long(volatile u_long *p,
> u_int v) static __inline int
>  atomic_testandset_long(volatile u_long *p, u_int v)
>  {
> -	return (atomic_testandset_int((volatile u_int *)p, v);
> +	return (atomic_testandset_int((volatile u_int *)p, v));
>  }
>  
>  static __inline int
>  atomic_testandclear_long(volatile u_long *p, u_int v)
>  {
> -	return (atomic_testandclear_int((volatile u_int *)p, v);
> +	return (atomic_testandclear_int((volatile u_int *)p, v));
>  }
>  #endif
>  

Sorry!  I only tested with buildkernel on 64-bit.

- Justin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220114064954.4154a036>