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
71fef4fb
Commit
71fef4fb
authored
May 29, 2003
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: merge conflicts
parent
214c1315
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
arch/ppc64/kernel/setup.c
arch/ppc64/kernel/setup.c
+3
-4
No files found.
arch/ppc64/kernel/setup.c
View file @
71fef4fb
...
@@ -193,7 +193,7 @@ void setup_system(unsigned long r3, unsigned long r4, unsigned long r5,
...
@@ -193,7 +193,7 @@ void setup_system(unsigned long r3, unsigned long r4, unsigned long r5,
printk
(
"naca = 0x%p
\n
"
,
naca
);
printk
(
"naca = 0x%p
\n
"
,
naca
);
printk
(
"naca->pftSize = 0x%lx
\n
"
,
naca
->
pftSize
);
printk
(
"naca->pftSize = 0x%lx
\n
"
,
naca
->
pftSize
);
printk
(
"naca->debug_switch = 0x%lx
\n
"
,
naca
->
debug_switch
);
printk
(
"naca->debug_switch = 0x%lx
\n
"
,
naca
->
debug_switch
);
printk
(
"naca->interrupt_controller = 0x%l
x
\n
"
,
naca
->
interrupt_controller
);
printk
(
"naca->interrupt_controller = 0x%l
d
\n
"
,
naca
->
interrupt_controller
);
printk
(
"systemcfg = 0x%p
\n
"
,
systemcfg
);
printk
(
"systemcfg = 0x%p
\n
"
,
systemcfg
);
printk
(
"systemcfg->processorCount = 0x%lx
\n
"
,
systemcfg
->
processorCount
);
printk
(
"systemcfg->processorCount = 0x%lx
\n
"
,
systemcfg
->
processorCount
);
printk
(
"systemcfg->physicalMemorySize = 0x%lx
\n
"
,
systemcfg
->
physicalMemorySize
);
printk
(
"systemcfg->physicalMemorySize = 0x%lx
\n
"
,
systemcfg
->
physicalMemorySize
);
...
@@ -365,16 +365,15 @@ void parse_cmd_line(unsigned long r3, unsigned long r4, unsigned long r5,
...
@@ -365,16 +365,15 @@ void parse_cmd_line(unsigned long r3, unsigned long r4, unsigned long r5,
cmd_line
[
0
]
=
0
;
cmd_line
[
0
]
=
0
;
#ifdef CONFIG_CMDLINE
#ifdef CONFIG_CMDLINE
str
cpy
(
cmd_line
,
CONFIG_CMDLINE
);
str
lcpy
(
cmd_line
,
CONFIG_CMDLINE
,
sizeof
(
cmd_line
)
);
#endif
/* CONFIG_CMDLINE */
#endif
/* CONFIG_CMDLINE */
chosen
=
find_devices
(
"chosen"
);
chosen
=
find_devices
(
"chosen"
);
if
(
chosen
!=
NULL
)
{
if
(
chosen
!=
NULL
)
{
p
=
get_property
(
chosen
,
"bootargs"
,
NULL
);
p
=
get_property
(
chosen
,
"bootargs"
,
NULL
);
if
(
p
!=
NULL
&&
p
[
0
]
!=
0
)
if
(
p
!=
NULL
&&
p
[
0
]
!=
0
)
str
n
cpy
(
cmd_line
,
p
,
sizeof
(
cmd_line
));
str
l
cpy
(
cmd_line
,
p
,
sizeof
(
cmd_line
));
}
}
cmd_line
[
sizeof
(
cmd_line
)
-
1
]
=
0
;
/* Look for mem= option on command line */
/* Look for mem= option on command line */
if
(
strstr
(
cmd_line
,
"mem="
))
{
if
(
strstr
(
cmd_line
,
"mem="
))
{
...
...
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