aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/runq.h
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2007-01-04 12:10:58 +0000
committerJeff Roberson <jeff@FreeBSD.org>2007-01-04 12:10:58 +0000
commitcd49bb7047f32ed0cc010747c38f6c95470fda4a (patch)
treee49e49b5201f14ef73e1a0835a46f048d5b3cd68 /sys/sys/runq.h
parentdbd1ddacd46e3f3a2d1bf4e32329a6f1ee6d86ef (diff)
downloadsrc-cd49bb7047f32ed0cc010747c38f6c95470fda4a.tar.gz
src-cd49bb7047f32ed0cc010747c38f6c95470fda4a.zip
- Don't pass a pointer into runq_choose_from(). The caller can adjust the
index if it chooses to.
Notes
Notes: svn path=/head/; revision=165765
Diffstat (limited to 'sys/sys/runq.h')
-rw-r--r--sys/sys/runq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/runq.h b/sys/sys/runq.h
index 56eec26d4707..6e7e5d9c2fd6 100644
--- a/sys/sys/runq.h
+++ b/sys/sys/runq.h
@@ -66,7 +66,7 @@ void runq_add(struct runq *, struct td_sched *, int);
void runq_add_pri(struct runq *, struct td_sched *, int, int);
int runq_check(struct runq *);
struct td_sched *runq_choose(struct runq *);
-struct td_sched *runq_choose_from(struct runq *, int *);
+struct td_sched *runq_choose_from(struct runq *, int);
void runq_init(struct runq *);
void runq_remove(struct runq *, struct td_sched *);
void runq_remove_idx(struct runq *, struct td_sched *, int *);