[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1233193977.15801.72.camel@vayu>
Date: Wed, 28 Jan 2009 17:52:57 -0800
From: Suresh Siddha <suresh.b.siddha@...el.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"H. Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: x86: unify genapic code, unify subarchitectures, remove old
subarchitecture code
On Wed, 2009-01-28 at 15:41 -0800, Ingo Molnar wrote:
> This series of 114 patches implements a long desired restructuring,
> unification and cleanup of the x86 APIC/SMP/subarch code:
>
> - unifies the 32-bit and 64-bit genapic code
>
> - sorts out all the subarch details into standalone and boot-time
> probable quirk modules
>
> - removes the build-time subarch hacks that we had on 32-bit.
>
> This inevitably touches an awful lot of x86 code, and rather intrusively
> so:
>
> 112 files changed, 3277 insertions(+), 3209 deletions(-)
>
> So breakages are to be expected.
Here's one :)
diff --git a/arch/x86/include/asm/genapic.h
b/arch/x86/include/asm/genapic.h
index 4bbcf26..273b994 100644
--- a/arch/x86/include/asm/genapic.h
+++ b/arch/x86/include/asm/genapic.h
@@ -145,7 +145,7 @@ static inline unsigned int read_apic_id(void)
{
unsigned int reg;
- reg = *(u32 *)(APIC_BASE + APIC_ID);
+ reg = apic_read(APIC_ID);
return apic->get_apic_id(reg);
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists