diff options
Diffstat (limited to 'arch/powerpc/include/asm/machdep.h')
| -rw-r--r-- | arch/powerpc/include/asm/machdep.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/machdep.h b/arch/powerpc/include/asm/machdep.h index 5b6c03f1058f..f92b0b54e921 100644 --- a/arch/powerpc/include/asm/machdep.h +++ b/arch/powerpc/include/asm/machdep.h | |||
| @@ -98,6 +98,9 @@ struct machdep_calls { | |||
| 98 | void (*iommu_save)(void); | 98 | void (*iommu_save)(void); |
| 99 | void (*iommu_restore)(void); | 99 | void (*iommu_restore)(void); |
| 100 | #endif | 100 | #endif |
| 101 | #ifdef CONFIG_MEMORY_HOTPLUG_SPARSE | ||
| 102 | unsigned long (*memory_block_size)(void); | ||
| 103 | #endif | ||
| 101 | #endif /* CONFIG_PPC64 */ | 104 | #endif /* CONFIG_PPC64 */ |
| 102 | 105 | ||
| 103 | void (*pci_dma_dev_setup)(struct pci_dev *dev); | 106 | void (*pci_dma_dev_setup)(struct pci_dev *dev); |
| @@ -113,6 +116,8 @@ struct machdep_calls { | |||
| 113 | /* Optional, may be NULL. */ | 116 | /* Optional, may be NULL. */ |
| 114 | void (*show_cpuinfo)(struct seq_file *m); | 117 | void (*show_cpuinfo)(struct seq_file *m); |
| 115 | void (*show_percpuinfo)(struct seq_file *m, int i); | 118 | void (*show_percpuinfo)(struct seq_file *m, int i); |
| 119 | /* Returns the current operating frequency of "cpu" in Hz */ | ||
| 120 | unsigned long (*get_proc_freq)(unsigned int cpu); | ||
| 116 | 121 | ||
| 117 | void (*init_IRQ)(void); | 122 | void (*init_IRQ)(void); |
| 118 | 123 | ||
| @@ -241,6 +246,9 @@ struct machdep_calls { | |||
| 241 | /* Called during PCI resource reassignment */ | 246 | /* Called during PCI resource reassignment */ |
| 242 | resource_size_t (*pcibios_window_alignment)(struct pci_bus *, unsigned long type); | 247 | resource_size_t (*pcibios_window_alignment)(struct pci_bus *, unsigned long type); |
| 243 | 248 | ||
| 249 | /* Reset the secondary bus of bridge */ | ||
| 250 | void (*pcibios_reset_secondary_bus)(struct pci_dev *dev); | ||
| 251 | |||
| 244 | /* Called to shutdown machine specific hardware not already controlled | 252 | /* Called to shutdown machine specific hardware not already controlled |
| 245 | * by other drivers. | 253 | * by other drivers. |
| 246 | */ | 254 | */ |
