Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
b6d83633
Commit
b6d83633
authored
Mar 22, 2004
by
Andrew Morton
Committed by
Linus Torvalds
Mar 22, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ppc64: clean up boot messaegs
From: Anton Blanchard <anton@samba.org> Clean up early boot messages.
parent
2202e437
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
arch/ppc64/kernel/prom.c
arch/ppc64/kernel/prom.c
+8
-10
No files found.
arch/ppc64/kernel/prom.c
View file @
b6d83633
...
@@ -942,16 +942,15 @@ prom_initialize_tce_table(void)
...
@@ -942,16 +942,15 @@ prom_initialize_tce_table(void)
path
,
sizeof
(
path
)
-
1
)
<=
0
)
{
path
,
sizeof
(
path
)
-
1
)
<=
0
)
{
prom_print
(
RELOC
(
"package-to-path failed
\n
"
));
prom_print
(
RELOC
(
"package-to-path failed
\n
"
));
}
else
{
}
else
{
prom_print
(
RELOC
(
"open
ed
"
));
prom_print
(
RELOC
(
"open
ing PHB
"
));
prom_print
(
path
);
prom_print
(
path
);
prom_print_nl
();
}
}
phb_node
=
(
ihandle
)
call_prom
(
RELOC
(
"open"
),
1
,
1
,
path
);
phb_node
=
(
ihandle
)
call_prom
(
RELOC
(
"open"
),
1
,
1
,
path
);
if
(
(
long
)
phb_node
<=
0
)
{
if
(
(
long
)
phb_node
<=
0
)
{
prom_print
(
RELOC
(
"
open
failed
\n
"
));
prom_print
(
RELOC
(
"
...
failed
\n
"
));
}
else
{
}
else
{
prom_print
(
RELOC
(
"
open success
\n
"
));
prom_print
(
RELOC
(
"
... done
\n
"
));
}
}
call_prom
(
RELOC
(
"call-method"
),
6
,
0
,
call_prom
(
RELOC
(
"call-method"
),
6
,
0
,
RELOC
(
"set-64-bit-addressing"
),
RELOC
(
"set-64-bit-addressing"
),
...
@@ -1148,7 +1147,7 @@ prom_hold_cpus(unsigned long mem)
...
@@ -1148,7 +1147,7 @@ prom_hold_cpus(unsigned long mem)
prom_print_hex
(
cpuid
);
prom_print_hex
(
cpuid
);
prom_print
(
RELOC
(
" : starting cpu "
));
prom_print
(
RELOC
(
" : starting cpu "
));
prom_print
(
path
);
prom_print
(
path
);
prom_print
(
RELOC
(
"..."
));
prom_print
(
RELOC
(
"...
"
));
call_prom
(
RELOC
(
"start-cpu"
),
3
,
0
,
node
,
call_prom
(
RELOC
(
"start-cpu"
),
3
,
0
,
node
,
secondary_hold
,
cpuid
);
secondary_hold
,
cpuid
);
...
@@ -1156,7 +1155,7 @@ prom_hold_cpus(unsigned long mem)
...
@@ -1156,7 +1155,7 @@ prom_hold_cpus(unsigned long mem)
(
*
acknowledge
==
((
unsigned
long
)
-
1
));
i
++
)
;
(
*
acknowledge
==
((
unsigned
long
)
-
1
));
i
++
)
;
if
(
*
acknowledge
==
cpuid
)
{
if
(
*
acknowledge
==
cpuid
)
{
prom_print
(
RELOC
(
"
ok
\n
"
));
prom_print
(
RELOC
(
"
... done
\n
"
));
/* We have to get every CPU out of OF,
/* We have to get every CPU out of OF,
* even if we never start it. */
* even if we never start it. */
if
(
cpuid
>=
NR_CPUS
)
if
(
cpuid
>=
NR_CPUS
)
...
@@ -1169,10 +1168,9 @@ prom_hold_cpus(unsigned long mem)
...
@@ -1169,10 +1168,9 @@ prom_hold_cpus(unsigned long mem)
cpu_set
(
cpuid
,
RELOC
(
cpu_present_at_boot
));
cpu_set
(
cpuid
,
RELOC
(
cpu_present_at_boot
));
#endif
#endif
}
else
{
}
else
{
prom_print
(
RELOC
(
"failed: "
));
prom_print
(
RELOC
(
"
...
failed: "
));
prom_print_hex
(
*
acknowledge
);
prom_print_hex
(
*
acknowledge
);
prom_print_nl
();
prom_print_nl
();
/* prom_panic(RELOC("cpu failed to start")); */
}
}
}
}
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
...
@@ -1765,7 +1763,7 @@ check_display(unsigned long mem)
...
@@ -1765,7 +1763,7 @@ check_display(unsigned long mem)
continue
;
continue
;
}
}
prom_print
(
RELOC
(
"...
ok
\n
"
));
prom_print
(
RELOC
(
"...
done
\n
"
));
/* Setup a useable color table when the appropriate
/* Setup a useable color table when the appropriate
* method is available. Should update this to set-colors */
* method is available. Should update this to set-colors */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment