summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/cputable.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-06 12:06:20 +1000
committerPaul Mackerras <paulus@samba.org>2005-10-06 12:06:20 +1000
commit9b6b563c0d2d25ecc3111916031aa7255543fbfb (patch)
tree07fd029308055461caa157d15a88c01861efc6bb /include/asm-powerpc/cputable.h
parentb85a046af3a260e079505e8023ccd10e01cf4f2b (diff)
downloadkernel-crypto-9b6b563c0d2d25ecc3111916031aa7255543fbfb.tar.gz
kernel-crypto-9b6b563c0d2d25ecc3111916031aa7255543fbfb.tar.xz
kernel-crypto-9b6b563c0d2d25ecc3111916031aa7255543fbfb.zip
powerpc: Merge in the ppc64 version of the prom code.
This brings in the ppc64 version of prom_init.c, prom.c and btext.c and makes them work for ppc32. This also brings in the new calling convention, where the first entry to the kernel (with r5 != 0) goes to the prom_init code, which then restarts from the beginning (with r5 == 0) after it has done its stuff. For now this also brings in the ppc32 version of setup.c. It also merges lmb.h. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/cputable.h')
-rw-r--r--include/asm-powerpc/cputable.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-powerpc/cputable.h b/include/asm-powerpc/cputable.h
index 1e50efab091..a4a50d08d38 100644
--- a/include/asm-powerpc/cputable.h
+++ b/include/asm-powerpc/cputable.h
@@ -57,6 +57,9 @@ struct cpu_spec {
extern struct cpu_spec *cur_cpu_spec;
+extern void identify_cpu(unsigned long offset, unsigned long cpu);
+extern void do_cpu_ftr_fixups(unsigned long offset);
+
#endif /* __ASSEMBLY__ */
/* CPU kernel features */