1. 14 3月, 2018 1 次提交
  2. 13 11月, 2017 3 次提交
  3. 21 9月, 2017 1 次提交
  4. 20 9月, 2017 1 次提交
    • L
      MIPS: PCI: Move map_irq() hooks out of initdata · 19a8d6b7
      Lorenzo Pieralisi 提交于
      04c81c72 ("MIPS: PCI: Replace pci_fixup_irqs() call with host bridge
      IRQ mapping hooks") moved the PCI IRQ fixup to the new host bridge
      map/swizzle_irq() hooks mechanism. Those hooks can also be called after
      boot, when all the __init/__initdata/__initconst sections have been freed.
      Therefore, functions called by them (and the data they refer to) must not
      be marked as __init/__initdata/__initconst lest compilation trigger section
      mismatch warnings.
      
      Fix all the board files map_irq() hooks by simply removing the respective
      __init/__initdata/__initconst section markers and by adding another
      persistent hook IRQ map for the txx9 board files.
      
      Fixes: 04c81c72 ("MIPS: PCI: Replace pci_fixup_irqs() call with host bridge IRQ mapping hooks")
      Signed-off-by: NLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      Reviewed-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Steve French <smfrench@gmail.com>
      19a8d6b7
  5. 29 8月, 2017 1 次提交
  6. 05 10月, 2016 1 次提交
    • P
      MIPS: pci: Audit and remove any unnecessary uses of module.h · 2722090a
      Paul Gortmaker 提交于
      Historically a lot of these existed because we did not have
      a distinction between what was modular code and what was providing
      support to modules via EXPORT_SYMBOL and friends.  That changed
      when we forked out support for the latter into the export.h file.
      
      This means we should be able to reduce the usage of module.h
      in code that is obj-y Makefile or bool Kconfig.  The advantage
      in doing so is that module.h itself sources about 15 other headers;
      adding significantly to what we feed cpp, and it can obscure what
      headers we are effectively using.
      
      Since module.h was the source for init.h (for __init) and for
      export.h (for EXPORT_SYMBOL) we consider each obj-y/bool instance
      for the presence of either and replace as needed.
      
      We also needed to remove the no-op MODULE_DEVICE_TABLE usage in
      several instances to permit removal of the module.h include.  The
      files in these instances were all controlled by bool Kconfig.
      
      In one instance, module_param was being used so we transition the
      module.h include onto a moduleparam.h include.
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/14035/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      2722090a
  7. 04 10月, 2016 1 次提交
  8. 13 5月, 2016 1 次提交
  9. 10 2月, 2016 1 次提交
  10. 20 1月, 2016 1 次提交