aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/atomic64_test.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/atomic64_test.c b/lib/atomic64_test.c
index f7bb706c9c3a..65e482caf5e9 100644
--- a/lib/atomic64_test.c
+++ b/lib/atomic64_test.c
@@ -144,14 +144,16 @@ static __init int test_atomic64(void)
144 BUG_ON(v.counter != r); 144 BUG_ON(v.counter != r);
145 145
146#ifdef CONFIG_X86 146#ifdef CONFIG_X86
147 printk(KERN_INFO "atomic64 test passed for %s+ platform %s CX8 and %s SSE\n", 147 printk(KERN_INFO "atomic64 test passed for %s platform %s CX8 and %s SSE\n",
148#ifdef CONFIG_X86_CMPXCHG64 148#ifdef CONFIG_X86_64
149 "586", 149 "x86-64",
150#elif defined(CONFIG_X86_CMPXCHG64)
151 "i586+",
150#else 152#else
151 "386", 153 "i386+",
152#endif 154#endif
153 boot_cpu_has(X86_FEATURE_CX8) ? "with" : "without", 155 boot_cpu_has(X86_FEATURE_CX8) ? "with" : "without",
154 boot_cpu_has(X86_FEATURE_XMM) ? "with" : "without"); 156 boot_cpu_has(X86_FEATURE_XMM) ? "with" : "without");
155#else 157#else
156 printk(KERN_INFO "atomic64 test passed\n"); 158 printk(KERN_INFO "atomic64 test passed\n");
157#endif 159#endif