login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
18
Re: [PATCH 3/3] Use __weak macro for smp_setup_processor_id
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andrew Morton
Subject:
Re: [PATCH 3/3] Use __weak macro for smp_setup_processor_id
Date: Friday, April 18, 2008 - 12:07 am
On Fri, 18 Apr 2008 16:56:18 +1000 Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
quoted text
> Use the __weak macro instead of the longer __attribute__ ((weak)) form > > Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> > -- > > init/main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- linux-work.orig/init/main.c 2008-04-18 16:44:32.000000000 +1000 > +++ linux-work/init/main.c 2008-04-18 16:44:37.000000000 +1000 > @@ -500,7 +500,7 @@ static void __init boot_cpu_init(void) > cpu_set(cpu, cpu_possible_map); > } > > -void __init __attribute__((weak)) smp_setup_processor_id(void) > +void __init __weak smp_setup_processor_id(void) > { > }
ack on all three. Please fold #3 into #1 and add both to git-powerpc. --
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 3/3] Use __weak macro for smp_setup_processor_id
, Benjamin Herrenschmidt
, (Thu Apr 17, 11:56 pm)
Re: [PATCH 3/3] Use __weak macro for smp_setup_processor_id
, Andrew Morton
, (Fri Apr 18, 12:07 am)
Re: [PATCH 3/3] Use __weak macro for smp_setup_processor_id
, Benjamin Herrenschmidt
, (Fri Apr 18, 1:19 am)
Re: [PATCH 3/3] Use __weak macro for smp_setup_processor_id
, Andrew Morton
, (Fri Apr 18, 1:38 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Trenton D. Adams
Re: Flash IO slow 1.5 MB/s
Alan Cox
Re: Please add ZFS support (from GPL sources)
S K
Re: cpufreq doesn't seem to work in Intel Q9300
Bart Van Assche
Re: Is gcc thread-unsafe?
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
git
:
Junio C Hamano
Re: git-svnimport
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Junio C Hamano
Re: [PATCH] Detached HEAD (experimental)
Juergen Ruehle
Re: [ANNOUNCE] Guilt 0.16
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
sm501: add power control callback
Linux Kernel Mailing List
net: don't grab a mutex within a timer context in gianfar
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
linux-netdev
:
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Jeff Kirsher
[net-2.6 PATCH 2/5] e1000e: increase swflag acquisition timeout for ICHx/PCH
David Miller
Re: [RFC 0/5] generic rx recycling
openbsd-misc
:
daniele.pilenga
snmpd hangs on 4.1 looking up hrSWRunTable
Christophe Rioux
Implementation example of snmp
Nick Holland
Re: booting openbsd on eee without cd-rom
Bryan Irvine
Re: OpenBSD 4.7 Released, May 19 2010
Cabillot Julien
Re: OpenBSD isakmpd and pf vs Cisco PIX or ASA
Colocation donated by:
Syndicate