aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2006-05-05 01:02:08 -0400
committerKumar Gala <galak@kernel.crashing.org>2006-05-05 01:02:08 -0400
commit7e990266c845d7f712c96013891aaf74baef198f (patch)
tree92bc569003abdfd53b53f1081132469d92497ded /arch/powerpc/kernel/setup.h
parent5a43ee65620d628ba04deecf241b63b2410b97f2 (diff)
powerpc: provide ppc_md.panic() for both ppc32 & ppc64
Allow boards to provide a panic callback on ppc32. Moved the code to sets this up into setup-common.c so its shared between ppc32 & ppc64. Also moved do_init_bootmem prototype into setup.h. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/setup.h')
-rw-r--r--arch/powerpc/kernel/setup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/setup.h b/arch/powerpc/kernel/setup.h
index 2ebba755272e..e67066c1933e 100644
--- a/arch/powerpc/kernel/setup.h
+++ b/arch/powerpc/kernel/setup.h
@@ -2,5 +2,7 @@
2#define _POWERPC_KERNEL_SETUP_H 2#define _POWERPC_KERNEL_SETUP_H
3 3
4void check_for_initrd(void); 4void check_for_initrd(void);
5void do_init_bootmem(void);
6void setup_panic(void);
5 7
6#endif /* _POWERPC_KERNEL_SETUP_H */ 8#endif /* _POWERPC_KERNEL_SETUP_H */