diff options
Diffstat (limited to 'arch/powerpc/include/asm/machdep.h')
-rw-r--r-- | arch/powerpc/include/asm/machdep.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/arch/powerpc/include/asm/machdep.h b/arch/powerpc/include/asm/machdep.h index 307347f8ddbd..c8175a3fe560 100644 --- a/arch/powerpc/include/asm/machdep.h +++ b/arch/powerpc/include/asm/machdep.h | |||
@@ -42,7 +42,7 @@ struct machdep_calls { | |||
42 | unsigned long newpp, | 42 | unsigned long newpp, |
43 | unsigned long vpn, | 43 | unsigned long vpn, |
44 | int bpsize, int apsize, | 44 | int bpsize, int apsize, |
45 | int ssize, int local); | 45 | int ssize, unsigned long flags); |
46 | void (*hpte_updateboltedpp)(unsigned long newpp, | 46 | void (*hpte_updateboltedpp)(unsigned long newpp, |
47 | unsigned long ea, | 47 | unsigned long ea, |
48 | int psize, int ssize); | 48 | int psize, int ssize); |
@@ -60,7 +60,7 @@ struct machdep_calls { | |||
60 | void (*hugepage_invalidate)(unsigned long vsid, | 60 | void (*hugepage_invalidate)(unsigned long vsid, |
61 | unsigned long addr, | 61 | unsigned long addr, |
62 | unsigned char *hpte_slot_array, | 62 | unsigned char *hpte_slot_array, |
63 | int psize, int ssize); | 63 | int psize, int ssize, int local); |
64 | /* special for kexec, to be called in real mode, linear mapping is | 64 | /* special for kexec, to be called in real mode, linear mapping is |
65 | * destroyed as well */ | 65 | * destroyed as well */ |
66 | void (*hpte_clear_all)(void); | 66 | void (*hpte_clear_all)(void); |
@@ -142,7 +142,6 @@ struct machdep_calls { | |||
142 | #endif | 142 | #endif |
143 | 143 | ||
144 | void (*restart)(char *cmd); | 144 | void (*restart)(char *cmd); |
145 | void (*power_off)(void); | ||
146 | void (*halt)(void); | 145 | void (*halt)(void); |
147 | void (*panic)(char *str); | 146 | void (*panic)(char *str); |
148 | void (*cpu_die)(void); | 147 | void (*cpu_die)(void); |
@@ -292,10 +291,6 @@ struct machdep_calls { | |||
292 | #ifdef CONFIG_ARCH_RANDOM | 291 | #ifdef CONFIG_ARCH_RANDOM |
293 | int (*get_random_long)(unsigned long *v); | 292 | int (*get_random_long)(unsigned long *v); |
294 | #endif | 293 | #endif |
295 | |||
296 | #ifdef CONFIG_MEMORY_HOTREMOVE | ||
297 | int (*remove_memory)(u64, u64); | ||
298 | #endif | ||
299 | }; | 294 | }; |
300 | 295 | ||
301 | extern void e500_idle(void); | 296 | extern void e500_idle(void); |
@@ -343,16 +338,6 @@ extern sys_ctrler_t sys_ctrler; | |||
343 | 338 | ||
344 | #endif /* CONFIG_PPC_PMAC */ | 339 | #endif /* CONFIG_PPC_PMAC */ |
345 | 340 | ||
346 | |||
347 | /* Functions to produce codes on the leds. | ||
348 | * The SRC code should be unique for the message category and should | ||
349 | * be limited to the lower 24 bits (the upper 8 are set by these funcs), | ||
350 | * and (for boot & dump) should be sorted numerically in the order | ||
351 | * the events occur. | ||
352 | */ | ||
353 | /* Print a boot progress message. */ | ||
354 | void ppc64_boot_msg(unsigned int src, const char *msg); | ||
355 | |||
356 | static inline void log_error(char *buf, unsigned int err_type, int fatal) | 341 | static inline void log_error(char *buf, unsigned int err_type, int fatal) |
357 | { | 342 | { |
358 | if (ppc_md.log_error) | 343 | if (ppc_md.log_error) |