diff options
Diffstat (limited to 'sys/powerpc/aim/copyinout.c')
| -rw-r--r-- | sys/powerpc/aim/copyinout.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/powerpc/aim/copyinout.c b/sys/powerpc/aim/copyinout.c index 7fa91ceaaf11..4c19cbfe9252 100644 --- a/sys/powerpc/aim/copyinout.c +++ b/sys/powerpc/aim/copyinout.c @@ -322,6 +322,12 @@ fuword32(const void *addr) return ((int32_t)fuword(addr)); } +int32_t +casuword32(int32_t *base, int32_t oldval, int32_t newval) +{ + return (casuptr(base, oldval, newval)); +} + intptr_t casuptr(intptr_t *addr, intptr_t old, intptr_t new) { |
