Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > muc.lists.netbsd.source-changes > #156182
| From | Martin Husemann <martin@NetBSD.org> |
|---|---|
| Newsgroups | muc.lists.netbsd.source-changes |
| Subject | Re: CVS commit: src/sys/net |
| Date | 2026-06-24 11:15 +0000 |
| Organization | Newsgate at muc.de e.V. |
| Message-ID | <aju8YvdnOSKBllxA@homeworld.netbsd.org> (permalink) |
| References | <20260624065604.1E4CFFA2B@cvs.NetBSD.org> |
On Wed, Jun 24, 2026 at 06:56:04AM +0000, Shoichi YAMAGUCHI wrote:
> Module Name: src
> Committed By: yamaguchi
> Date: Wed Jun 24 06:56:04 UTC 2026
>
> Modified Files:
> src/sys/net: if_spppsubr.c
>
> Log Message:
> sppp: use atomic_loadstore(9) to read and write sp->pp_last_activity
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.292 -r1.293 src/sys/net/if_spppsubr.c
Sorry, but this breaks the build:
/work/src/sys/rump/net/lib/libnet/../../../../net/if_spppsubr.c: In function 'sp
pp_keepalive':
/work/src/sys/rump/net/lib/libnet/../../../../sys/atomic.h:427:9: note: in expansion of macro 'CTASSERT'
427 | CTASSERT(sizeof(*(p)) <= __ATOMIC_SIZE_MAX); \
| ^~~~~~~~
We do not have 64bit atomics on all architectures.
Does this have to be a 64bit value?
Martin
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Back to muc.lists.netbsd.source-changes | Previous | Next — Next in thread | Find similar | Unroll thread
Re: CVS commit: src/sys/net Martin Husemann <martin@NetBSD.org> - 2026-06-24 11:15 +0000 Re: CVS commit: src/sys/net Shoichi Yamaguchi <yamaguchi@netbsd.org> - 2026-06-25 10:41 +0900
csiph-web