X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ppc64%2Fmachdep.h;h=e3b860769cd8e43f085eb1504106a8dad59d16b1;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=020c7922fc57717f27b2d6d908fd607effc9aad7;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/include/asm-ppc64/machdep.h b/include/asm-ppc64/machdep.h index 020c7922f..e3b860769 100644 --- a/include/asm-ppc64/machdep.h +++ b/include/asm-ppc64/machdep.h @@ -56,6 +56,9 @@ struct machdep_calls { void (*flush_hash_range)(unsigned long context, unsigned long number, int local); + /* special for kexec, to be called in real mode, linar mapping is + * destroyed as well */ + void (*hpte_clear_all)(void); void (*tce_build)(struct iommu_table * tbl, long index, @@ -67,7 +70,9 @@ struct machdep_calls { long npages); void (*tce_flush)(struct iommu_table *tbl); + int (*probe)(int platform); void (*setup_arch)(void); + void (*init_early)(void); /* Optional, may be NULL. */ void (*get_cpuinfo)(struct seq_file *m); @@ -77,9 +82,6 @@ struct machdep_calls { /* PCI stuff */ void (*pcibios_fixup)(void); - /* Optional, may be NULL. */ - void (*init)(void); - void (*restart)(char *cmd); void (*power_off)(void); void (*halt)(void);