aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2006-05-05 00:02:08 -0500
committerKumar Gala <galak@kernel.crashing.org>2006-05-05 00:02:08 -0500
commit7e990266c845d7f712c96013891aaf74baef198f (patch)
tree92bc569003abdfd53b53f1081132469d92497ded /arch/powerpc/kernel/setup.h
parent5a43ee65620d628ba04deecf241b63b2410b97f2 (diff)
downloadkernel_samsung_espresso10-7e990266c845d7f712c96013891aaf74baef198f.tar.gz
kernel_samsung_espresso10-7e990266c845d7f712c96013891aaf74baef198f.tar.bz2
kernel_samsung_espresso10-7e990266c845d7f712c96013891aaf74baef198f.zip
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 2ebba755272..e67066c1933 100644
--- a/arch/powerpc/kernel/setup.h
+++ b/arch/powerpc/kernel/setup.h
@@ -2,5 +2,7 @@
#define _POWERPC_KERNEL_SETUP_H
void check_for_initrd(void);
+void do_init_bootmem(void);
+void setup_panic(void);
#endif /* _POWERPC_KERNEL_SETUP_H */