Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
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-2.6.23
Commits
39964653
Commit
39964653
authored
Mar 15, 2007
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Use bootmem_bootmap_pages() in choose_bootmap_pfn().
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
b93f2620
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
arch/sparc64/mm/init.c
arch/sparc64/mm/init.c
+2
-2
No files found.
arch/sparc64/mm/init.c
View file @
39964653
...
...
@@ -770,8 +770,8 @@ static unsigned long __init choose_bootmap_pfn(unsigned long start_pfn,
unsigned
long
avoid_start
,
avoid_end
,
bootmap_size
;
int
i
;
bootmap_size
=
((
end_pfn
-
start_pfn
)
+
7
)
/
8
;
bootmap_size
=
ALIGN
(
bootmap_size
,
sizeof
(
long
))
;
bootmap_size
=
bootmem_bootmap_pages
(
end_pfn
-
start_pfn
)
;
bootmap_size
<<=
PAGE_SHIFT
;
avoid_start
=
avoid_end
=
0
;
#ifdef CONFIG_BLK_DEV_INITRD
...
...
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