Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191471
b: refs/heads/master
c: a5c9161
h: refs/heads/master
i:
  191469: 6dc4264
  191467: 4ed735a
  191463: 9c2ad8f
  191455: 09df972
v: v3
  • Loading branch information
H. Peter Anvin committed Mar 1, 2010
1 parent 8d390d2 commit 81c6b4c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f3e83131469e29032a700217aa394996107b8fc5
refs/heads/master: a5c9161f27c3e1ae6c0094d262f03a7e98262181
14 changes: 8 additions & 6 deletions trunk/lib/atomic64_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,16 @@ static __init int test_atomic64(void)
BUG_ON(v.counter != r);

#ifdef CONFIG_X86
printk(KERN_INFO "atomic64 test passed for %s+ platform %s CX8 and %s SSE\n",
#ifdef CONFIG_X86_CMPXCHG64
"586",
printk(KERN_INFO "atomic64 test passed for %s platform %s CX8 and %s SSE\n",
#ifdef CONFIG_X86_64
"x86-64",
#elif defined(CONFIG_X86_CMPXCHG64)
"i586+",
#else
"386",
"i386+",
#endif
boot_cpu_has(X86_FEATURE_CX8) ? "with" : "without",
boot_cpu_has(X86_FEATURE_XMM) ? "with" : "without");
boot_cpu_has(X86_FEATURE_CX8) ? "with" : "without",
boot_cpu_has(X86_FEATURE_XMM) ? "with" : "without");
#else
printk(KERN_INFO "atomic64 test passed\n");
#endif
Expand Down

0 comments on commit 81c6b4c

Please sign in to comment.