]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - arch/powerpc/include/asm/machdep.h
powerpc/mm/thp: Use tlbiel if possible
[mirror_ubuntu-eoan-kernel.git] / arch / powerpc / include / asm / machdep.h
index 307347f8ddbdc808f49ca4cbc4825a5fbe8c5c99..e5c0919acca470536007c985e0f6cbd6f7c7a9bd 100644 (file)
@@ -60,7 +60,7 @@ struct machdep_calls {
        void            (*hugepage_invalidate)(unsigned long vsid,
                                               unsigned long addr,
                                               unsigned char *hpte_slot_array,
-                                              int psize, int ssize);
+                                              int psize, int ssize, int local);
        /* special for kexec, to be called in real mode, linear mapping is
         * destroyed as well */
        void            (*hpte_clear_all)(void);
@@ -142,7 +142,6 @@ struct machdep_calls {
 #endif
 
        void            (*restart)(char *cmd);
-       void            (*power_off)(void);
        void            (*halt)(void);
        void            (*panic)(char *str);
        void            (*cpu_die)(void);
@@ -292,10 +291,6 @@ struct machdep_calls {
 #ifdef CONFIG_ARCH_RANDOM
        int (*get_random_long)(unsigned long *v);
 #endif
-
-#ifdef CONFIG_MEMORY_HOTREMOVE
-       int (*remove_memory)(u64, u64);
-#endif
 };
 
 extern void e500_idle(void);
@@ -343,16 +338,6 @@ extern sys_ctrler_t sys_ctrler;
 
 #endif /* CONFIG_PPC_PMAC */
 
-
-/* Functions to produce codes on the leds.
- * The SRC code should be unique for the message category and should
- * be limited to the lower 24 bits (the upper 8 are set by these funcs),
- * and (for boot & dump) should be sorted numerically in the order
- * the events occur.
- */
-/* Print a boot progress message. */
-void ppc64_boot_msg(unsigned int src, const char *msg);
-
 static inline void log_error(char *buf, unsigned int err_type, int fatal)
 {
        if (ppc_md.log_error)