aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/machdep.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-20 03:02:01 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-20 03:02:01 -0400
commitd8699e65c6bc0a81b5e679ca5b135bfe3c3fb483 (patch)
treeba80488ff6b5b7e15c999233fe798332fa979430 /include/asm-powerpc/machdep.h
parent971dc77b64db9466f5caab56019e62a93c0ddfc5 (diff)
ppc64: Change ppc_md.get_cpuinfo to ppc_md.show_cpuinfo
... for consistency with ppc32; also add in ppc32's show_percpuinfo function. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/machdep.h')
-rw-r--r--include/asm-powerpc/machdep.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/asm-powerpc/machdep.h b/include/asm-powerpc/machdep.h
index f060553b997a..8a0969b6243c 100644
--- a/include/asm-powerpc/machdep.h
+++ b/include/asm-powerpc/machdep.h
@@ -86,7 +86,8 @@ struct machdep_calls {
86 void (*setup_arch)(void); 86 void (*setup_arch)(void);
87 void (*init_early)(void); 87 void (*init_early)(void);
88 /* Optional, may be NULL. */ 88 /* Optional, may be NULL. */
89 void (*get_cpuinfo)(struct seq_file *m); 89 void (*show_cpuinfo)(struct seq_file *m);
90 void (*show_percpuinfo)(struct seq_file *m, int i);
90 91
91 void (*init_IRQ)(void); 92 void (*init_IRQ)(void);
92 int (*get_irq)(struct pt_regs *); 93 int (*get_irq)(struct pt_regs *);
@@ -153,10 +154,6 @@ struct machdep_calls {
153 void (*enable_pmcs)(void); 154 void (*enable_pmcs)(void);
154 155
155#ifdef CONFIG_PPC32 /* XXX for now */ 156#ifdef CONFIG_PPC32 /* XXX for now */
156 /* Optional, may be NULL. */
157 int (*show_cpuinfo)(struct seq_file *m);
158 int (*show_percpuinfo)(struct seq_file *m, int i);
159
160 /* A general init function, called by ppc_init in init/main.c. 157 /* A general init function, called by ppc_init in init/main.c.
161 May be NULL. */ 158 May be NULL. */
162 void (*init)(void); 159 void (*init)(void);