Date: Sun, 22 May 2011 20:55:54 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/cfi cfi_dev.c src/sys/powerpc/include atomic.h Message-ID: <201105222056.p4MKuHar070055@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2011-05-22 20:55:54 UTC FreeBSD src repository Modified files: sys/dev/cfi cfi_dev.c sys/powerpc/include atomic.h Log: SVN rev 222198 on 2011-05-22 20:55:54Z by attilio Merge r221614,221696,221737,221840 from largeSMP project branch: Rewrite atomic operations for powerpc in order to achieve the following: - Produce a type-clean implementation (in terms of functions arguments and returned values) for the primitives. - Fix errors with _long() atomics where they ended up with the wrong arguments to be accepted. - Follow the sys/type.h specifics that define the numbered types starting from standard C types. - Let _ptr() version to not auto-magically cast arguments, but leave the burden on callers, as _ptr() atomic is intended to be used relatively rarely. Fix cfi in order to support the latest point. In collabouration with: bde Tested by: andreast, nwhitehorn, jceel MFC after: 2 weeks Revision Changes Path 1.5 +2 -1 src/sys/dev/cfi/cfi_dev.c 1.26 +266 -262 src/sys/powerpc/include/atomic.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105222056.p4MKuHar070055>