android_kernel_motorola_sm6225/arch
Sam Ravnborg 98db6f193c x86: fix section mismatch in pci_scan_bus
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>
Signed-off-by: Jesse Barnes <jbarnes@hobbes.lan>
2008-04-29 13:41:59 -07:00
..
alpha alpha: use kbuild.h instead of macros in asm-offsets.c 2008-04-29 08:06:29 -07:00
arm arm: use kbuild.h instead of macros in asm-offsets.c 2008-04-29 08:06:29 -07:00
avr32 avr32: use kbuild.h macros instead of defining macros in asm-offsets.c 2008-04-29 08:06:29 -07:00
blackfin blackfin: use kbuild.h instead of defining macros in asm-macros.c 2008-04-29 08:06:29 -07:00
cris cris: use non-racy method for /proc/system_profile creation 2008-04-29 08:06:21 -07:00
frv frv: use kbuild.h instead of defining macros in asm-offsets.c 2008-04-29 08:06:30 -07:00
h8300 h8300: use kbuild.h instead of defining macros in asm-offsets.c 2008-04-29 08:06:30 -07:00
ia64 ia64: use kbuild.h macros instead of defining macros in asm-offsets.c 2008-04-29 08:06:29 -07:00
m32r Generic semaphore implementation 2008-04-17 10:42:34 -04:00
m68k m68k/m68kmmu: use kbuild.h instead of defining macros in asm-offsets.c 2008-04-29 08:06:30 -07:00
m68knommu m68k/m68kmmu: use kbuild.h instead of defining macros in asm-offsets.c 2008-04-29 08:06:30 -07:00
mips mips: use kbuild.h instead of macros in asm-offsets.c 2008-04-29 08:06:29 -07:00
mn10300 mn10300: use kbuild.h instead of defining macros in asm-offsets.c 2008-04-29 08:06:30 -07:00
parisc parisc: use kbuild.h instead of defining macros in asm-offsets.c 2008-04-29 08:06:30 -07:00
powerpc Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2008-04-29 08:19:14 -07:00
ppc ppc/powerpc: use kbuild.h instead of defining macros in asm-offsets.c 2008-04-29 08:06:30 -07:00
s390 s390: use kbuild.h instead of defining macros in asm-offsets.c 2008-04-29 08:06:30 -07:00
sh sh: use kbuild.h instead of defining macros in asm-offsets.c 2008-04-29 08:06:30 -07:00
sparc sparc: use kbuild.h instead of defining macros in asm-offsets.c 2008-04-29 08:06:29 -07:00
sparc64 iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
um proc: remove proc_root from drivers 2008-04-29 08:06:18 -07:00
v850 v850: use kbuild.h instead of defining macros in asm-offsets.c 2008-04-29 08:06:30 -07:00
x86 x86: fix section mismatch in pci_scan_bus 2008-04-29 13:41:59 -07:00
xtensa xtensa: use kbuild.h macros instead of defining them in asm-offsets.c 2008-04-29 08:06:29 -07:00
.gitignore arch: Ignore arch/i386 and arch/x86_64 2008-01-19 21:29:39 -08:00
Kconfig dma: add dma_*map*_attrs() interfaces 2008-04-29 08:06:11 -07:00