svn commit: r254656 - projects/umtx/sys/kern
Davide Italiano
davide at FreeBSD.org
Thu Aug 22 13:24:40 UTC 2013
Author: davide
Date: Thu Aug 22 13:24:40 2013
New Revision: 254656
URL: http://svnweb.freebsd.org/changeset/base/254656
Log:
Remove redundant function prototypes (they're already in the header).
While here remove a debugging knob left accidentally there (oops).
Modified:
projects/umtx/sys/kern/kern_schedctl.c
Modified: projects/umtx/sys/kern/kern_schedctl.c
==============================================================================
--- projects/umtx/sys/kern/kern_schedctl.c Thu Aug 22 13:20:17 2013 (r254655)
+++ projects/umtx/sys/kern/kern_schedctl.c Thu Aug 22 13:24:40 2013 (r254656)
@@ -56,13 +56,6 @@ static uma_zone_t shpage_zone; /* Zone
static size_t avail_pagesize; /* size of usable page on page */
static size_t bitmap_len; /* # of bits in allocation bitmap */
-/*
- * Public prototypes.
- */
-int schedctl(struct thread *td, struct schedctl_args *uap);
-void schedctl_thread_exit(struct thread *td);
-void schedctl_proc_exit(void);
-
static int
schedctl_alloc_page(struct proc *p, shpage_t **ret)
{
@@ -208,7 +201,6 @@ schedctl_proc_exit(void)
shpage_t *sh_pg;
vm_map_t map;
- printf("ping \n");
p = curthread->td_proc;
map = &p->p_vmspace->vm_map;
SLIST_FOREACH(sh_pg, &(p->p_shpg), pg_next) {
More information about the svn-src-projects
mailing list