oom: give the dying task a higher priority
[sfrench/cifs-2.6.git] / kernel / lockdep.c
index 54286798c37b8e060078adbd7444c3f2c8da9847..f2852a5102327f74c39531a517e488c0d1e673e5 100644 (file)
@@ -146,7 +146,7 @@ static DEFINE_PER_CPU(struct lock_class_stats[MAX_LOCKDEP_KEYS],
 
 static inline u64 lockstat_clock(void)
 {
-       return cpu_clock(smp_processor_id());
+       return local_clock();
 }
 
 static int lock_point(unsigned long points[], unsigned long ip)