x86: apic - generic_processor_info
authorCyrill Gorcunov <gorcunov@gmail.com>
Mon, 18 Aug 2008 16:45:57 +0000 (20:45 +0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 19 Aug 2008 00:07:16 +0000 (02:07 +0200)
commit1b313f4a6d7bee7b2c034b3f1e203bc360a71cca
treeeaa380aef78b7aff26194ce5e37e23f6d28a66dd
parentc177b0bc03e0e11623e2099db42903fb0caf0fd3
x86: apic - generic_processor_info

- use physid_set instead of phys_cpu and physids_or
- set phys_cpu_present_map bit AFTER check for allowed
  number of processors
- add checking for APIC valid version in 64bit mode
  (mostly not needed but added for merging purpose)
- add apic_version definition for 64bit mode which
  is used now

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic_32.c
arch/x86/kernel/apic_64.c