Hello community, here is the log from the commit of package postgresql92 for openSUSE:Factory checked in at 2013-05-13 15:21:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postgresql92 (Old) and /work/SRC/openSUSE:Factory/.postgresql92.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "postgresql92" Changes: -------- --- /work/SRC/openSUSE:Factory/postgresql92/postgresql92-libs.changes 2013-05-02 15:30:18.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql92.new/postgresql92-libs.changes 2013-05-13 15:21:13.000000000 +0200 @@ -1,0 +2,5 @@ +Wed May 8 14:23:05 UTC 2013 - schwab@suse.de + +- postgresql-tas-aarch64.patch: Implement TAS for aarch64 + +------------------------------------------------------------------- postgresql92.changes: same change New: ---- postgresql-tas-aarch64.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postgresql92-libs.spec ++++++ --- /var/tmp/diff_new_pack.pe1U12/_old 2013-05-13 15:21:15.000000000 +0200 +++ /var/tmp/diff_new_pack.pe1U12/_new 2013-05-13 15:21:15.000000000 +0200 @@ -78,6 +78,7 @@ Patch2: postgresql-regress.patch Patch3: postgresql-sle10-timestamptz.patch Patch4: postgresql-plperl.patch +Patch5: postgresql-tas-aarch64.patch Url: http://www.postgresql.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: postgresql = %version @@ -304,6 +305,7 @@ %patch3 -p1 %endif %patch4 +%patch5 touch -r tmp configure rm tmp postgresql92.spec: same change ++++++ postgresql-tas-aarch64.patch ++++++ Index: src/include/storage/s_lock.h =================================================================== --- src/include/storage/s_lock.h.orig +++ src/include/storage/s_lock.h @@ -689,6 +689,23 @@ typedef unsigned char slock_t; #endif +#if defined(__aarch64__) +#define HAS_TEST_AND_SET + +#define TAS(lock) tas(lock) + +typedef int slock_t; + +static __inline__ int +tas(volatile slock_t *lock) +{ + return __sync_lock_test_and_set(lock, 1); +} + +#define S_UNLOCK(lock) __sync_lock_release(lock) + +#endif /* __aarch64__ */ + #endif /* defined(__GNUC__) || defined(__INTEL_COMPILER) */ ++++++ pre_checkin.sh ++++++ --- /var/tmp/diff_new_pack.pe1U12/_old 2013-05-13 15:21:15.000000000 +0200 +++ /var/tmp/diff_new_pack.pe1U12/_new 2013-05-13 15:21:15.000000000 +0200 @@ -14,4 +14,4 @@ -e 's/%define buildlibs .*/%define buildlibs 1/' \ postgresql??-libs.spec -diff -u postgresql??.spec postgresql??-libs.spec \ No newline at end of file +diff -u postgresql??.spec postgresql??-libs.spec -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org