Skip to content

Commit 02041f0

Browse files
committed
Fix assembly btc -> btcl for compilation with clang
Author: PaX Team <pageexec at freemail.hu> ML-Post: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142707.html URL: http://llvm.linuxfoundation.org Merge: Jan-Simon Möller <dl9pf at gmx.de> Description:
1 parent 395e558 commit 02041f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/include/asm/percpu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ do { \
493493
#define x86_test_and_clear_bit_percpu(bit, var) \
494494
({ \
495495
int old__; \
496-
asm volatile("btr %2,"__percpu_arg(1)"\n\tsbbl %0,%0" \
496+
asm volatile("btrl %2,"__percpu_arg(1)"\n\tsbbl %0,%0" \
497497
: "=r" (old__), "+m" (var) \
498498
: "dIr" (bit)); \
499499
old__; \

0 commit comments

Comments
 (0)