Martin Pitt <martin@piware.de> writes:
> However, Thiemo Seufer dealt with this and created a proper tas()
> function for PostgreSQL on mips, which also works with gcc 4. Of
> course this is much better, so I applied his patch in Debian.
> I attach the patch. Do you consider applying it upstream?
Hm, does this patch actually compile as-is? I'd think you'd need to
have the MIPS definition of slock_t placed earlier than the assembly
code fragment.
regards, tom lane