[MIPS] Fix use of smp_processor_id() in preemptible code.
[safe/jmp/linux-2.6] / include / asm-mips / timex.h
index 5816ad1..6529704 100644 (file)
@@ -35,7 +35,7 @@ typedef unsigned int cycles_t;
 
 static inline cycles_t get_cycles(void)
 {
-       return read_c0_count();
+       return 0;
 }
 
 #endif /* __KERNEL__ */