Re: [PATCH 5/8] x86: apic - unify hard_smp_processor_id

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Cyrill Gorcunov
Date: Saturday, August 23, 2008 - 1:18 pm

[Cyrill Gorcunov - Sat, Aug 23, 2008 at 11:45:41PM +0400]
...
| | 
| | this one seems have some problem with 32bit with genericarch
| | 
| | because we have
| | 
| | int hard_smp_processor_id(void)
| | {
| |         return genapic->get_apic_id(*(unsigned long *)(APIC_BASE+APIC_ID));
| | }
| | 
| | arch/x86/mach-generic/probe.c
| | 
| | updated 64 bit to have MACRO.
| | 
| | YH
| | 
| 
| thanks Yinghai, but isn't it called _after_ x86 apic chip
| initialized?
| 
| 		- Cyrill -

it's not related to initializaton - ignore my prev mail please.
(just a notice: If you've 64bit version updated to MACRO dont
forget you will need read_apic_id as well).

		- Cyrill -
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/8] tip/x86/apic - merging snippet, Cyrill Gorcunov, (Sat Aug 23, 6:01 am)
[PATCH 3/8] x86: apic - unify setup_apicpmtimer, Cyrill Gorcunov, (Sat Aug 23, 6:01 am)
[PATCH 5/8] x86: apic - unify hard_smp_processor_id, Cyrill Gorcunov, (Sat Aug 23, 6:01 am)
[PATCH 6/8] x86: apic - unify setup_local_APIC, Cyrill Gorcunov, (Sat Aug 23, 6:01 am)
[PATCH 7/8] x86: apic_32.c should use __cpuinit section, Cyrill Gorcunov, (Sat Aug 23, 6:01 am)
[PATCH 8/8] x86: apic - unify smp_apic_timer_interrupt, Cyrill Gorcunov, (Sat Aug 23, 6:01 am)
Re: [PATCH 5/8] x86: apic - unify hard_smp_processor_id, Cyrill Gorcunov, (Sat Aug 23, 12:45 pm)
Re: [PATCH 5/8] x86: apic - unify hard_smp_processor_id, Cyrill Gorcunov, (Sat Aug 23, 1:18 pm)