login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
October
»
24
Re: [PATCH 07/15] x86, sfi: Use smp_register_lapic_address()
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Thomas Gleixner
Subject:
Re: [PATCH 07/15] x86, sfi: Use smp_register_lapic_address()
Date: Sunday, October 24, 2010 - 2:56 am
On Sat, 23 Oct 2010, Yinghai Lu wrote:
quoted text
> kill mp_sfi_register_lapic_address, they are the same
Except for the difference.
quoted text
> Signed-off-by: Yinghai Lu <yinghai@kernel.org> > --- > arch/x86/kernel/sfi.c | 13 +------------ > 1 files changed, 1 insertions(+), 12 deletions(-) > > diff --git a/arch/x86/kernel/sfi.c b/arch/x86/kernel/sfi.c > index dd4c281..4dc8065 100644 > --- a/arch/x86/kernel/sfi.c > +++ b/arch/x86/kernel/sfi.c > @@ -34,17 +34,6 @@ > #ifdef CONFIG_X86_LOCAL_APIC > static unsigned long sfi_lapic_addr __initdata = APIC_DEFAULT_PHYS_BASE; > > -static void __init mp_sfi_register_lapic_address(unsigned long address) > -{ > - mp_lapic_addr = address; > - > - set_fixmap_nocache(FIX_APIC_BASE, mp_lapic_addr); > - if (boot_cpu_physical_apicid == -1U) > - boot_cpu_physical_apicid = read_apic_id(); > - > - pr_info("Boot CPU = %d\n", boot_cpu_physical_apicid);
That pr_info is not really important, but it makes the function different in the first place.
quoted text
> -} > - > /* All CPUs enumerated by SFI must be present and enabled */ > static void __cpuinit mp_sfi_register_lapic(u8 id) > { > @@ -110,7 +99,7 @@ static int __init sfi_parse_ioapic(struct sfi_table_header *table) > int __init sfi_platform_init(void) > { > #ifdef CONFIG_X86_LOCAL_APIC > - mp_sfi_register_lapic_address(sfi_lapic_addr); > + smp_register_lapic_address(sfi_lapic_addr); > sfi_table_parse(SFI_SIG_CPUS, NULL, NULL, sfi_parse_cpus); > #endif > #ifdef CONFIG_X86_IO_APIC > -- > 1.7.1 >
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 00/15] x86: APIC related clean up
, Yinghai Lu
, (Sat Oct 23, 6:02 pm)
[PATCH 01/15] x86, apic: Don't write io_apic ID if it is n ...
, Yinghai Lu
, (Sat Oct 23, 6:02 pm)
[PATCH 02/15] x86, apic: Fix lapic mapping with construct ...
, Yinghai Lu
, (Sat Oct 23, 6:02 pm)
[PATCH 04/15] x86, apic: Remove early_init_lapic_mapping
, Yinghai Lu
, (Sat Oct 23, 6:02 pm)
[PATCH 07/15] x86, sfi: Use smp_register_lapic_address()
, Yinghai Lu
, (Sat Oct 23, 6:02 pm)
[PATCH 14/15] acpi: Reverse uid and apic_id print out for ...
, Yinghai Lu
, (Sat Oct 23, 6:02 pm)
[PATCH 15/15] x86: Disabling x2apic if nox2apic is specified
, Yinghai Lu
, (Sat Oct 23, 6:02 pm)
Re: [PATCH 02/15] x86, apic: Fix lapic mapping with constr ...
, Thomas Gleixner
, (Sun Oct 24, 2:47 am)
Re: [PATCH 04/15] x86, apic: Remove early_init_lapic_mapping
, Thomas Gleixner
, (Sun Oct 24, 2:53 am)
Re: [PATCH 07/15] x86, sfi: Use smp_register_lapic_address()
, Thomas Gleixner
, (Sun Oct 24, 2:56 am)
Re: [PATCH 15/15] x86: Disabling x2apic if nox2apic is spe ...
, Thomas Gleixner
, (Sun Oct 24, 3:15 am)
Re: [PATCH 15/15] x86: Disabling x2apic if nox2apic is spe ...
, Yinghai Lu
, (Sun Oct 24, 3:09 pm)
Re: [PATCH 15/15] x86: Disabling x2apic if nox2apic is spe ...
, Suresh Siddha
, (Mon Oct 25, 10:50 am)
[PATCH -v3] x86: Disable x2apic if nox2apic is specified
, Yinghai Lu
, (Tue Oct 26, 11:27 pm)
Re: [PATCH -v3] x86: Disable x2apic if nox2apic is specified
, Suresh Siddha
, (Thu Oct 28, 10:53 pm)
Re: [PATCH -v3] x86: Disable x2apic if nox2apic is specified
, Yinghai Lu
, (Fri Oct 29, 12:26 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Chuck Ebbert
Re: PCI: Unable to reserve mem region problem
Mingming Cao
Re: [RFC 1/4] Large Blocksize support for Ext2/3/4
Linus Torvalds
Linux 2.6.34-rc4
git
:
Ralf Wildenhues
[PATCH] Fix typos in the documentation
Adeodato
Bazaar's patience diff as GIT_EXTERNAL_DIFF
Johannes Schindelin
Re: [PATCH 2/4] Add functions get_relative_cwd() and is_inside_dir()
Len Brown
Re: fatal: unable to create '.git/index': File exists
Denis Bueno
Git clone error
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
nfsd41: sanity check client drc maxreqs
Linux Kernel Mailing List
bnx2x: Moving includes
Linux Kernel Mailing List
V4L/DVB: gspca - sonixj: Adjust minor values of sensor ov7630. - set the color ga...
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Sam Fourman Jr.
Re: Help with Altell PC6700
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
linux-netdev
:
Kurt Van Dijck
Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
David Miller
Re: [PATCH v2] net: typos in comments in include/linux/igmp.h
Ursula Braun
[patch 0/1] remove header_ops bug in qeth driver
Colocation donated by:
Syndicate