summaryrefslogtreecommitdiff
path: root/mm/slub.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2009-12-14 14:13:44 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-14 10:11:34 -0800
commit491424c0f46c282a854b88830212bdb0763e93dc (patch)
tree54e3272da9bdc638c6efcb43fa94f96454106d0a /mm/slub.c
parent5185fb069972b653dd7177292e7510ff99d9e8aa (diff)
downloadlinux-3.10-491424c0f46c282a854b88830212bdb0763e93dc.tar.gz
linux-3.10-491424c0f46c282a854b88830212bdb0763e93dc.tar.bz2
linux-3.10-491424c0f46c282a854b88830212bdb0763e93dc.zip
PCI: Global variable decls must match the defs in section attributes
Global variable declarations must match the definitions in section attributes as the compiler is at liberty to vary the method it uses to access a variable, depending on the section it is in. When building the FRV arch, I now see: drivers/built-in.o: In function `pci_apply_final_quirks': drivers/pci/quirks.c:2606: relocation truncated to fit: R_FRV_GPREL12 against symbol `pci_dfl_cache_line_size' defined in .devinit.data section in drivers/built-in.o drivers/pci/quirks.c:2623: relocation truncated to fit: R_FRV_GPREL12 against symbol `pci_dfl_cache_line_size' defined in .devinit.data section in drivers/built-in.o drivers/pci/quirks.c:2630: relocation truncated to fit: R_FRV_GPREL12 against symbol `pci_dfl_cache_line_size' defined in .devinit.data section in drivers/built-in.o because the declaration of pci_dfl_cache_line_size in linux/pci.h does not match the definition in drivers/pci/pci.c. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions