cregit-Linux how code gets into the kernel

Release 4.14 arch/powerpc/include/asm/isa-bridge.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ISA_BRIDGE_H

#define __ISA_BRIDGE_H

#ifdef CONFIG_PPC64

extern void isa_bridge_find_early(struct pci_controller *hose);
extern void isa_bridge_init_non_pci(struct device_node *np);


static inline int isa_vaddr_is_ioport(void __iomem *address) { /* Check if address hits the reserved legacy IO range */ unsigned long ea = (unsigned long)address; return ea >= ISA_IO_BASE && ea < ISA_IO_END; }

Contributors

PersonTokensPropCommitsCommitProp
Benjamin Herrenschmidt32100.00%1100.00%
Total32100.00%1100.00%

#else
static inline int isa_vaddr_is_ioport(void __iomem *address) { /* No specific ISA handling on ppc32 at this stage, it * all goes through PCI */ return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Benjamin Herrenschmidt16100.00%1100.00%
Total16100.00%1100.00%

#endif #endif /* __ISA_BRIDGE_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Benjamin Herrenschmidt8498.82%266.67%
Greg Kroah-Hartman11.18%133.33%
Total85100.00%3100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.