Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
db6e3f91
Commit
db6e3f91
authored
Jul 06, 2009
by
Michal Simek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
microblaze: Fix cast warning for init.c
Signed-off-by:
Michal Simek
<
monstr@monstr.eu
>
parent
4ae78338
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
arch/microblaze/mm/init.c
arch/microblaze/mm/init.c
+3
-3
No files found.
arch/microblaze/mm/init.c
View file @
db6e3f91
...
...
@@ -80,15 +80,15 @@ void __init setup_memory(void)
memory_size
=
memory_end
-
memory_start
;
PAGE_OFFSET
=
memory_start
;
printk
(
KERN_INFO
"%s: Main mem: 0x%x-0x%x, "
"size 0x%08x
\n
"
,
__func__
,
memory_start
,
memory_end
,
memory_size
);
"size 0x%08x
\n
"
,
__func__
,
(
u32
)
memory_start
,
(
u32
)
memory_end
,
(
u32
)
memory_size
);
break
;
}
}
if
(
!
memory_start
||
!
memory_end
)
{
panic
(
"%s: Missing memory setting 0x%08x-0x%08x
\n
"
,
__func__
,
memory_start
,
memory_end
);
__func__
,
(
u32
)
memory_start
,
(
u32
)
memory_end
);
}
/* reservation of region where is the kernel */
...
...
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