> > I'll re-check that with the ppc architecture guy here.

Bruce Momjian <bruce@momjian.us>

Commit: ceb4f5ea9c2c6c2bd44d4799ff4a62c40a038894
Author: Bruce Momjian <bruce@momjian.us>
Date: 2002-11-10T00:33:43Z
Releases: 7.4.1
> > I'll re-check that with the ppc architecture guy here.
>
> ... he is now about to write an inlined version that can go into
> s_lock.h . I'll send the new patch later on...

OK, here it comes:

An inlined version of tas(), that works for both, powerpc and
powerpc64. The patch is against 7.3b5 and passes the test suite on
both architectures.

Reinhard Max

Files

PathChange+/−
src/backend/storage/lmgr/s_lock.c modified +1 −26
src/include/port/linux.h modified +5 −0
src/include/storage/s_lock.h modified +30 −1