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
dd184343
Commit
dd184343
authored
Oct 17, 2005
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
powerpc: Clear the BSS at the start of early_init with ARCH=ppc
Signed-off-by:
Paul Mackerras
<
paulus@samba.org
>
parent
7ac59c62
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
arch/powerpc/kernel/setup_32.c
arch/powerpc/kernel/setup_32.c
+4
-0
No files found.
arch/powerpc/kernel/setup_32.c
View file @
dd184343
...
@@ -294,6 +294,10 @@ unsigned long __init early_init(unsigned long dt_ptr)
...
@@ -294,6 +294,10 @@ unsigned long __init early_init(unsigned long dt_ptr)
{
{
unsigned
long
offset
=
reloc_offset
();
unsigned
long
offset
=
reloc_offset
();
/* First zero the BSS -- use memset_io, some platforms don't have
* caches on yet */
memset_io
(
PTRRELOC
(
&
__bss_start
),
0
,
_end
-
__bss_start
);
/*
/*
* Identify the CPU type and fix up code sections
* Identify the CPU type and fix up code sections
* that depend on which cpu we have.
* that depend on which cpu we have.
...
...
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