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
nexedi
linux
Commits
2aecf34e
Commit
2aecf34e
authored
Oct 05, 2003
by
Tom Rini
Committed by
Paul Mackerras
Oct 05, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: Always print the processor number in /proc/cpuinfo.
Fix from Dan Burcaw <dburcaw@terrasoftsolutions.com>.
parent
a5e24963
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
arch/ppc/kernel/setup.c
arch/ppc/kernel/setup.c
+1
-1
No files found.
arch/ppc/kernel/setup.c
View file @
2aecf34e
...
@@ -165,12 +165,12 @@ int show_cpuinfo(struct seq_file *m, void *v)
...
@@ -165,12 +165,12 @@ int show_cpuinfo(struct seq_file *m, void *v)
return
0
;
return
0
;
pvr
=
cpu_data
[
i
].
pvr
;
pvr
=
cpu_data
[
i
].
pvr
;
lpj
=
cpu_data
[
i
].
loops_per_jiffy
;
lpj
=
cpu_data
[
i
].
loops_per_jiffy
;
seq_printf
(
m
,
"processor
\t
: %d
\n
"
,
i
);
#else
#else
pvr
=
mfspr
(
PVR
);
pvr
=
mfspr
(
PVR
);
lpj
=
loops_per_jiffy
;
lpj
=
loops_per_jiffy
;
#endif
#endif
seq_printf
(
m
,
"processor
\t
: %d
\n
"
,
i
);
seq_printf
(
m
,
"cpu
\t\t
: "
);
seq_printf
(
m
,
"cpu
\t\t
: "
);
if
(
cur_cpu_spec
[
i
]
->
pvr_mask
)
if
(
cur_cpu_spec
[
i
]
->
pvr_mask
)
...
...
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