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
a642eaa7
Commit
a642eaa7
authored
Oct 08, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CRIS/SPARC/SPARC64]: Init mem_map after free_area_init_node.
parent
0b01eb35
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
1 deletion
+4
-1
arch/cris/mm/init.c
arch/cris/mm/init.c
+1
-1
arch/sparc/mm/srmmu.c
arch/sparc/mm/srmmu.c
+1
-0
arch/sparc/mm/sun4c.c
arch/sparc/mm/sun4c.c
+1
-0
arch/sparc64/mm/init.c
arch/sparc64/mm/init.c
+1
-0
No files found.
arch/cris/mm/init.c
View file @
a642eaa7
...
...
@@ -346,7 +346,7 @@ paging_init(void)
*/
free_area_init_node
(
0
,
&
contig_page_data
,
0
,
zones_size
,
PAGE_OFFSET
>>
PAGE_SHIFT
,
0
);
mem_map
=
contig_page_data
.
node_mem_map
;
}
extern
unsigned
long
loops_per_jiffy
;
/* init/main.c */
...
...
arch/sparc/mm/srmmu.c
View file @
a642eaa7
...
...
@@ -1342,6 +1342,7 @@ void __init srmmu_paging_init(void)
free_area_init_node
(
0
,
&
contig_page_data
,
NULL
,
zones_size
,
phys_base
>>
PAGE_SHIFT
,
zholes_size
);
mem_map
=
contig_page_data
.
node_mem_map
;
}
/* P3: easy to fix, todo. Current code is utterly broken, though. */
...
...
arch/sparc/mm/sun4c.c
View file @
a642eaa7
...
...
@@ -2068,6 +2068,7 @@ void __init sun4c_paging_init(void)
free_area_init_node
(
0
,
&
contig_page_data
,
NULL
,
zones_size
,
phys_base
>>
PAGE_SHIFT
,
zholes_size
);
mem_map
=
contig_page_data
.
node_mem_map
;
}
cnt
=
0
;
...
...
arch/sparc64/mm/init.c
View file @
a642eaa7
...
...
@@ -1554,6 +1554,7 @@ void __init paging_init(void)
free_area_init_node
(
0
,
&
contig_page_data
,
NULL
,
zones_size
,
phys_base
>>
PAGE_SHIFT
,
zholes_size
);
mem_map
=
contig_page_data
.
node_mem_map
;
}
device_scan
();
...
...
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