]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
db: disable the ARM assembler mutex code
authorLi Zhou <li.zhou@windriver.com>
Mon, 7 Nov 2016 03:02:16 +0000 (11:02 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Jan 2017 17:21:41 +0000 (17:21 +0000)
commit1a118330c301c775bcacd462ae8629a1b434dc0a
treea67df95d90d7b33c855c8ddc517f3d33d1a70d14
parent53ad465b40a772c55e949448a33a06e5e781e7d4
db: disable the ARM assembler mutex code

The swpb in macro MUTEX_SET will cause "undefined instruction" error
on the new arm arches which don't support this assembly instruction
any more. If use ldrex/strex to replace swpb, the old arm arches don't
support them. So to avoid this issue, just disable the ARM assembler
mutex code, and use the default pthreads mutex.

(From OE-Core rev: aafbc548ebc66dc0d703526f9a98f784e9c9605b)

(From OE-Core rev: d6a0ef7e9dfbda3d55ba18f2bcc69f04d502495d)

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/db/db_6.0.35.bb