]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86/tsc.h
x86: unify timex.h variants
[linux-2.6-omap-h63xx.git] / include / asm-x86 / tsc.h
index 2002f8d6d20a99f9b492de87204883998670ece9..6baab30dc2c8be051e81286bcb9e0ce97d37d724 100644 (file)
@@ -1,13 +1,14 @@
 /*
- * linux/include/asm-i386/tsc.h
- *
- * i386 TSC related functions
+ * x86 TSC related functions
  */
-#ifndef _ASM_i386_TSC_H
-#define _ASM_i386_TSC_H
+#ifndef _ASM_X86_TSC_H
+#define _ASM_X86_TSC_H
 
 #include <asm/processor.h>
 
+#define NS_SCALE       10 /* 2^10, carefully chosen */
+#define US_SCALE       32 /* 2^32, arbitralrily chosen */
+
 /*
  * Standard way to access the cycle counter.
  */