update test
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 6 Nov 2008 16:55:43 +0000 (16:55 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 6 Nov 2008 16:55:43 +0000 (16:55 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@3147 04897980-b3bd-0310-b5e0-8ef037075253

trunk/tests/kernel/Makefile
trunk/tests/kernel/test-tsc-sync2.c [new file with mode: 0644]

index 9555094a266caccecc62fc989eedc96cd51e15e2..6c6dc9a51939c955e685b84c846121318ced768a 100644 (file)
@@ -14,11 +14,12 @@ ifneq ($(CONFIG_LTT),)
 endif
        #obj-m += test-sys_call.o
 #      obj-m += test-bug.o
+       obj-m += test-tsc-sync2.o
        obj-m += test-nop-speed.o
-       obj-m += test-hpet.o
+       #obj-m += test-hpet.o
 #      obj-m += test-prefix-speed-32.o
-       obj-m += test-prefix-speed.o
-       obj-m += test-psrwlock.o
+       #obj-m += test-prefix-speed.o
+       #obj-m += test-psrwlock.o
 #      obj-m += test-cmpxchg-nolock2.o
 #      obj-m += test-trace-speed.o
 #      obj-m += test-rcu-speed.o
diff --git a/trunk/tests/kernel/test-tsc-sync2.c b/trunk/tests/kernel/test-tsc-sync2.c
new file mode 100644 (file)
index 0000000..172b07c
--- /dev/null
@@ -0,0 +1,27 @@
+/* test-async-tsc.c
+ *
+ * test async tsc on AMD.
+ */
+
+
+#include <asm/atomic.h>
+#include <linux/module.h>
+#include <asm/timex.h>
+
+static int __init test_init(void)
+{
+       test_tsc_synchronization();
+       return -EPERM;
+}
+
+static void __exit test_exit(void)
+{
+}
+
+module_init(test_init);
+module_exit(test_exit);
+
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("Mathieu Desnoyers");
+MODULE_DESCRIPTION("sync async tsc");
+
This page took 0.025579 seconds and 4 git commands to generate.