]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
After rewriting powerpc atomic we decided to commit at the constraint
authorattilio <attilio@FreeBSD.org>
Fri, 13 May 2011 15:09:35 +0000 (15:09 +0000)
committerattilio <attilio@FreeBSD.org>
Fri, 13 May 2011 15:09:35 +0000 (15:09 +0000)
commitd576c60fd2f8392ecbb5566b3703fa5dac85d9e9
tree3e56b78e09f0d0ab16a38853f7430c90f6dc18e8
parentebb514a54a986a57e6598abb60f6972023bfff8f
After rewriting powerpc atomic we decided to commit at the constraint
that for _ptr operations, when not used directly with uintptr_t, we
needed to manually cast.

Use the cast on the _ptr version, where it actually wasn't (please note
that i386 doesn't get it right, while amd64 doesn't seem to compile
cfi neither in LINT, that is why it doesn't fail).

Reported by: sbruno
sys/dev/cfi/cfi_dev.c