|
@@ -116,16 +116,6 @@ static int __init iommu_setup(char *str)
|
|
|
}
|
|
|
early_param("iommu", iommu_setup);
|
|
|
|
|
|
-/*
|
|
|
- * stdcix is only supposed to be used in hypervisor real mode as per
|
|
|
- * the architecture spec
|
|
|
- */
|
|
|
-static inline void __raw_rm_writeq(u64 val, volatile void __iomem *paddr)
|
|
|
-{
|
|
|
- __asm__ __volatile__("stdcix %0,0,%1"
|
|
|
- : : "r" (val), "r" (paddr) : "memory");
|
|
|
-}
|
|
|
-
|
|
|
static inline bool pnv_pci_is_mem_pref_64(unsigned long flags)
|
|
|
{
|
|
|
return ((flags & (IORESOURCE_MEM_64 | IORESOURCE_PREFETCH)) ==
|