Skip to content

Commit

Permalink
Refs #119 #118. Fixed disabling hyper threading bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
xianyi committed Jun 29, 2012
1 parent f430e54 commit a507b56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions driver/others/init.c
Expand Up @@ -447,6 +447,9 @@ static void disable_hyperthread(void) {

//When the shared cpu are in different element of share & avail array, this may be a bug.
for (i = 0; i < count ; i++){

share[i] &= common->avail[i];

if (popcount(share[i]) > 1) {

#ifdef DEBUG
Expand Down

0 comments on commit a507b56

Please sign in to comment.