• Jiri Slaby's avatar
    PCI: fix section mismatch on update_res() · 57148688
    Jiri Slaby authored
    Remark update_res from __init to __devinit as it is called also
    from __devinit functions.
    
    This patch removes the following warning message:
    
      WARNING: vmlinux.o(.devinit.text+0x774a): Section mismatch
      in reference from the function pci_root_bus_res() to the
      function .init.text:update_res()
      The function __devinit pci_root_bus_res() references
      a function __init update_res().
      If update_res is only used by pci_root_bus_res then
      annotate update_res with a matching annotation.
    Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
    Cc: Aristeu Sergio <arozansk@redhat.com>
    Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
    Cc: linux-pci@vger.kernel.org
    Cc: x86@kernel.org
    Signed-off-by: default avatarHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
    Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
    57148688
bus_numa.c 1.98 KB