login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
29
Re: [PATCH] x86: fix section mismatch in pci_scan_bus
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Jesse Barnes <jbarnes@...>
To: Sam Ravnborg <sam@...>
Cc: Thomas Gleixner <tglx@...>, Ingo Molnar <mingo@...>, H. Peter Anvin <hpa@...>, LKML <linux-kernel@...>
Subject:
Re: [PATCH] x86: fix section mismatch in pci_scan_bus
Date: Tuesday, April 29, 2008 - 4:44 pm
On Tuesday, April 29, 2008 1:38 pm Sam Ravnborg wrote:
quoted text
> Fix following section mismatch warning: > WARNING: vmlinux.o(.text+0x275616): Section mismatch in reference from the > function pci_scan_bus() to the function > .devinit.text:pci_scan_bus_parented() > > The warning was seen with a CONFIG_DEBUG_SECTION_MISMATCH=y build. > The inline function pci_scan_bus refer to functions annotated > __devinit - so annotate it __devinit too. > This revealed a few x86 specific functions that were only > used from __init or __devinit context. > So annotate these __devinit and the warning was killed. > > The added include in pci.h was not strictly required but > added to avoid being dependent on indirect includes. > > Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Applied, thanks Sam. Jesse --
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] x86: fix section mismatch in pci_scan_bus
, Sam Ravnborg
, (Tue Apr 29, 4:38 pm)
Re: [PATCH] x86: fix section mismatch in pci_scan_bus
, Jesse Barnes
, (Tue Apr 29, 4:44 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Davide Libenzi
[patch 7/8] fdmap v2 - implement sys_socket2
Benjamin Herrenschmidt
Re: [PATCH] Remove process freezer from suspend to RAM pathway
Greg Kroah-Hartman
[PATCH 011/196] sysfs: Fix a copy-n-paste typo in comment
Greg KH
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
linux-netdev
:
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
Rémi Denis-Courmont
[PATCH] USB host CDC Phonet network interface driver
David Miller
[GIT]: Networking
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
683 guests
online.
Online users
strcmp
Jeremy
Syndicate