Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Linux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jan.koester
Linux
Commits
dd184343
Commit
dd184343
authored
19 years ago
by
Paul Mackerras
Browse files
Options
Downloads
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
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/powerpc/kernel/setup_32.c
+4
-0
4 additions, 0 deletions
arch/powerpc/kernel/setup_32.c
with
4 additions
and
0 deletions
arch/powerpc/kernel/setup_32.c
+
4
−
0
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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment