Browse Source

Refs #119 #118. Fixed disabling hyper threading bug.

tags/v0.2.1^2
Xianyi Zhang 13 years ago
parent
commit
a507b56ab1
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      driver/others/init.c

+ 3
- 0
driver/others/init.c View File

@@ -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


Loading…
Cancel
Save