x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / powerpc / include / asm / isa-bridge.h
bloba3a7c1d63a7c553a289b6739469f8fbe6d8cd2db
1 #ifndef __ISA_BRIDGE_H
2 #define __ISA_BRIDGE_H
4 #ifdef CONFIG_PPC64
6 extern void isa_bridge_find_early(struct pci_controller *hose);
7 extern void isa_bridge_init_non_pci(struct device_node *np);
9 static inline int isa_vaddr_is_ioport(void __iomem *address)
11 /* Check if address hits the reserved legacy IO range */
12 unsigned long ea = (unsigned long)address;
13 return ea >= ISA_IO_BASE && ea < ISA_IO_END;
16 #else
18 static inline int isa_vaddr_is_ioport(void __iomem *address)
20 /* No specific ISA handling on ppc32 at this stage, it
21 * all goes through PCI
23 return 0;
26 #endif
28 #endif /* __ISA_BRIDGE_H */