]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
MIPS: PCI: Inline pcibios_assign_all_busses
authorPaul Burton <paul.burton@imgtec.com>
Wed, 5 Oct 2016 17:18:10 +0000 (18:18 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 6 Oct 2016 15:57:52 +0000 (17:57 +0200)
commitab96b03144c5392b8c0c427cc37df34daa84c5d0
tree438c8ec0b7e8b2830ff7a08dd8a5717f46953426
parentf474ba9d9f275fc3bfe459b48bfc17ddd8e1f4cb
MIPS: PCI: Inline pcibios_assign_all_busses

The MIPS implementation of pcibios_assign_all_busses trivially returns
1. Implement it as a static function in asm/pci.h such that the compiler
can inline it & optimise out never-taken paths.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14343/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/pci.h
arch/mips/pci/pci.c