cprofile not conditional

This commit is contained in:
Ben Gras
2009-01-09 21:44:52 +00:00
parent e190ff9f84
commit c27008fbcc
5 changed files with 1 additions and 26 deletions

View File

@@ -17,16 +17,12 @@
#include <minix/config.h>
#if SPROFILE || CPROFILE
#include <minix/profile.h>
#include <minix/portio.h>
#include "kernel.h"
#include "profile.h"
#include "proc.h"
#endif
#if SPROFILE
#include <string.h>
@@ -126,8 +122,6 @@ irq_hook_t *hook;
#endif /* SPROFILE */
#if CPROFILE
/*
* The following variables and functions are used by the procentry/
* procentry syslib functions when linked with kernelspace processes.
@@ -177,5 +171,3 @@ void *tbl_ptr;
cprof_procs_no++;
}
#endif /* CPROFILE */