projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[POWERPC] Initialise spinlock in the DEBUG_PAGEALLOC code
[powerpc.git]
/
arch
/
mips
/
kernel
/
setup.c
diff --git
a/arch/mips/kernel/setup.c
b/arch/mips/kernel/setup.c
index
394540f
..
4975da0
100644
(file)
--- a/
arch/mips/kernel/setup.c
+++ b/
arch/mips/kernel/setup.c
@@
-525,6
+525,14
@@
void __init setup_arch(char **cmdline_p)
{
cpu_probe();
prom_init();
{
cpu_probe();
prom_init();
+
+#ifdef CONFIG_EARLY_PRINTK
+ {
+ extern void setup_early_printk(void);
+
+ setup_early_printk();
+ }
+#endif
cpu_report();
#if defined(CONFIG_VT)
cpu_report();
#if defined(CONFIG_VT)
@@
-543,7
+551,7
@@
void __init setup_arch(char **cmdline_p)
#endif
}
#endif
}
-int __init fpu_disable(char *s)
+
static
int __init fpu_disable(char *s)
{
int i;
{
int i;
@@
-555,7
+563,7
@@
int __init fpu_disable(char *s)
__setup("nofpu", fpu_disable);
__setup("nofpu", fpu_disable);
-int __init dsp_disable(char *s)
+
static
int __init dsp_disable(char *s)
{
cpu_data[0].ases &= ~MIPS_ASE_DSP;
{
cpu_data[0].ases &= ~MIPS_ASE_DSP;