summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/machdep.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-20 17:02:01 +1000
committerPaul Mackerras <paulus@samba.org>2005-10-20 17:02:01 +1000
commitd8699e65c6bc0a81b5e679ca5b135bfe3c3fb483 (patch)
treeba80488ff6b5b7e15c999233fe798332fa979430 /include/asm-powerpc/machdep.h
parent971dc77b64db9466f5caab56019e62a93c0ddfc5 (diff)
downloadop-kernel-dev-d8699e65c6bc0a81b5e679ca5b135bfe3c3fb483.zip
op-kernel-dev-d8699e65c6bc0a81b5e679ca5b135bfe3c3fb483.tar.gz
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 f060553..8a0969b 100644
--- a/include/asm-powerpc/machdep.h
+++ b/include/asm-powerpc/machdep.h
@@ -86,7 +86,8 @@ struct machdep_calls {
void (*setup_arch)(void);
void (*init_early)(void);
/* Optional, may be NULL. */
- void (*get_cpuinfo)(struct seq_file *m);
+ void (*show_cpuinfo)(struct seq_file *m);
+ void (*show_percpuinfo)(struct seq_file *m, int i);
void (*init_IRQ)(void);
int (*get_irq)(struct pt_regs *);
@@ -153,10 +154,6 @@ struct machdep_calls {
void (*enable_pmcs)(void);
#ifdef CONFIG_PPC32 /* XXX for now */
- /* Optional, may be NULL. */
- int (*show_cpuinfo)(struct seq_file *m);
- int (*show_percpuinfo)(struct seq_file *m, int i);
-
/* A general init function, called by ppc_init in init/main.c.
May be NULL. */
void (*init)(void);
OpenPOWER on IntegriCloud