1. 31 Oct, 2008 38 commits
  2. 30 Oct, 2008 2 commits
    • Ingo Molnar's avatar
      x86: cpu_index build fix · 1c4acdb4
      Ingo Molnar authored
      fix:
      
       arch/x86/kernel/cpu/common.c: In function 'early_identify_cpu':
       arch/x86/kernel/cpu/common.c:553: error: 'struct cpuinfo_x86' has no member named 'cpu_index'
      
      as cpu_index is only available on SMP.
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      1c4acdb4
    • James Bottomley's avatar
      x86/voyager: fix missing cpu_index initialisation · bfcb4c1b
      James Bottomley authored
      Impact: fix /proc/cpuinfo output on x86/Voyager
      
      Ever since
      
      | commit 92cb7612
      | Author: Mike Travis <travis@sgi.com>
      | Date:   Fri Oct 19 20:35:04 2007 +0200
      |
      |     x86: convert cpuinfo_x86 array to a per_cpu array
      
      We've had an extra field in cpuinfo_x86 which is cpu_index.
      Unfortunately, voyager has never initialised this, although the only
      noticeable impact seems to be that /proc/cpuinfo shows all zeros for
      the processor ids.
      
      Anyway, fix this by initialising the boot CPU properly and setting the
      index when the secondaries update.
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      bfcb4c1b