diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2011-11-21 02:52:41 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2011-11-21 02:52:41 +0000 |
commit | bc87a8ff8c5b6374a00a950cd15e1b290d6c5e06 (patch) | |
tree | 616bbb782feaabc04d48c963ff1b4b1cfec5b267 /ProcessList.c | |
parent | 7ca10817122d3b7b30fabb1cadb75e5ee14b364e (diff) |
Remove bundled hwloc-1.2.1. Use either native Linux affinity support or an external libhwloc.
(for details see https://sourceforge.net/mailarchive/forum.php?thread_name=CAJpkDYeZpwqcWxZ77wq6bMrnhn-KzkU1xAqb3cU0drfnA3n9FQ%40mail.gmail.com&forum_name=htop-general )
Diffstat (limited to 'ProcessList.c')
-rw-r--r-- | ProcessList.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ProcessList.c b/ProcessList.c index 0ba17980..be01ca65 100644 --- a/ProcessList.c +++ b/ProcessList.c @@ -115,7 +115,7 @@ typedef struct ProcessList_ { int kernelThreads; int runningTasks; - #ifdef HAVE_HWLOC + #ifdef HAVE_LIBHWLOC hwloc_topology_t topology; bool topologyOk; #endif @@ -195,7 +195,7 @@ ProcessList* ProcessList_new(UsersTable* usersTable) { fclose(file); this->cpuCount = cpus - 1; -#ifdef HAVE_HWLOC +#ifdef HAVE_LIBHWLOC this->topologyOk = false; int topoErr = hwloc_topology_init(&this->topology); if (topoErr == 0) { |