From: Ben Gras Date: Fri, 4 Feb 2011 13:42:17 +0000 (+0000) Subject: kernel - doesn't do lock timings any more X-Git-Tag: v3.2.0~687 X-Git-Url: http://zhaoyanbai.com/repos/%22../static/icons/man.7.txt?a=commitdiff_plain;h=95702f970b01c28a53f6eb1e0b4dc79aa3185470;p=minix.git kernel - doesn't do lock timings any more --- diff --git a/kernel/debug.h b/kernel/debug.h index c63755a5e..f2527761c 100644 --- a/kernel/debug.h +++ b/kernel/debug.h @@ -24,7 +24,6 @@ */ #define DEBUG_ENABLE_IPC_WARNINGS 1 #define DEBUG_STACKTRACE 1 -#define DEBUG_TIME_LOCKS 1 /* Sanity checks. */ #define DEBUG_SANITYCHECKS 0 diff --git a/kernel/glo.h b/kernel/glo.h index b53ae4d2b..906fd5ffa 100644 --- a/kernel/glo.h +++ b/kernel/glo.h @@ -69,9 +69,6 @@ EXTERN int config_no_smp; /* optionaly turn off SMP */ EXTERN int vm_running; EXTERN int catch_pagefaults; -/* Timing */ -EXTERN util_timingdata_t timingdata[TIMING_CATEGORIES]; - /* Variables that are initialized elsewhere are just extern here. */ extern struct boot_image image[]; /* system image processes */ extern struct segdesc_s gdt[]; /* global descriptor table */ diff --git a/kernel/system/do_getinfo.c b/kernel/system/do_getinfo.c index c5e23b51a..0e8a0c37b 100644 --- a/kernel/system/do_getinfo.c +++ b/kernel/system/do_getinfo.c @@ -161,13 +161,6 @@ PUBLIC int do_getinfo(struct proc * caller, message * m_ptr) src_vir = (vir_bytes) &kmess; break; } -#if DEBUG_TIME_LOCKS - case GET_LOCKTIMING: { - length = sizeof(timingdata); - src_vir = (vir_bytes) timingdata; - break; - } -#endif case GET_IRQACTIDS: { length = sizeof(irq_actids); src_vir = (vir_bytes) irq_actids;