summaryrefslogtreecommitdiff
path: root/xutils.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 00:08:47 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 00:08:47 +0200
commita7422da9eb920e217751f7a34b1aafba27029b52 (patch)
tree3297dcc2dd2cdfdf8dda1d90c57a3cc013895522 /xutils.c
parent9e4cf71371187927a6eb7cc4fe32b67d58a93010 (diff)
cpus: break out cpu related functions from xutils
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'xutils.c')
-rw-r--r--xutils.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/xutils.c b/xutils.c
index b539d8c..9b81fea 100644
--- a/xutils.c
+++ b/xutils.c
@@ -718,16 +718,6 @@ int get_default_sched_prio(void)
return sched_get_priority_max(get_default_sched_policy());
}
-int get_number_cpus(void)
-{
- return sysconf(_SC_NPROCESSORS_CONF);
-}
-
-int get_number_cpus_online(void)
-{
- return sysconf(_SC_NPROCESSORS_ONLN);
-}
-
int get_default_proc_prio(void)
{
return -20;