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
a9deb137
Commit
a9deb137
authored
Jul 01, 2010
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: Remove unnecessary call to find_limits()
Signed-off-by:
Russell King
<
rmk+kernel@arm.linux.org.uk
>
parent
e07b9e08
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
arch/arm/mm/init.c
arch/arm/mm/init.c
+3
-5
No files found.
arch/arm/mm/init.c
View file @
a9deb137
...
...
@@ -190,14 +190,12 @@ static void __init arm_bootmem_init(struct meminfo *mi,
}
}
static
void
__init
arm_bootmem_free
(
struct
meminfo
*
mi
)
static
void
__init
arm_bootmem_free
(
struct
meminfo
*
mi
,
unsigned
long
min
,
unsigned
long
max_low
,
unsigned
long
max_high
)
{
unsigned
long
zone_size
[
MAX_NR_ZONES
],
zhole_size
[
MAX_NR_ZONES
];
unsigned
long
min
,
max_low
,
max_high
;
int
i
;
find_limits
(
mi
,
&
min
,
&
max_low
,
&
max_high
);
/*
* initialise the zones.
*/
...
...
@@ -330,7 +328,7 @@ void __init bootmem_init(void)
* the sparse mem_map arrays initialized by sparse_init()
* for memmap_init_zone(), otherwise all PFNs are invalid.
*/
arm_bootmem_free
(
mi
);
arm_bootmem_free
(
mi
,
min
,
max_low
,
max_high
);
high_memory
=
__va
((
max_low
<<
PAGE_SHIFT
)
-
1
)
+
1
;
...
...
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