Обсуждение: pgsql/src/backend/storage/lmgr s_lock.c

Поиск
Список
Период
Сортировка

pgsql/src/backend/storage/lmgr s_lock.c

От
momjian@postgresql.org (Bruce Momjian - CVS)
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    momjian@postgresql.org    02/04/05 06:38:16

Modified files:
    src/backend/storage/lmgr: s_lock.c

Log message:
    Looks like a small patch is needed as well to do the right thing on Linux.

    The patch enables the mips2 ISA for the ll/sc operations, and then restores
    it when done.  The kernel/libc emulation code will take over on CPUs without
    ll/sc, and on CPUs with it, it'll use the operations provided by the CPU.

    Combined with the earlier fix (removing -mips2), postgresql builds again on
    mips and mipsel.  The patch is against 7.2-7.

    Oliver Elphick