]> code.ossystems Code Review - openembedded-core.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>
Tue, 15 Nov 2016 15:18:49 +0000 (15:18 +0000)
commitaafbc548ebc66dc0d703526f9a98f784e9c9605b
tree7fdeca0ad84f851b7585315a82fbe4e6fa7a5a8c
parent7bac3652c2ea0c4d60b1830bc07f2c4c2aaed0ae
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.

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-support/db/db_6.0.35.bb