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
def0bab5
Commit
def0bab5
authored
Jun 19, 2002
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Get rid of obsolete MAP_NR_DENSE(). Patch by Bjorn Helgaas.
parent
88cf362a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
arch/ia64/kernel/machvec.c
arch/ia64/kernel/machvec.c
+6
-3
No files found.
arch/ia64/kernel/machvec.c
View file @
def0bab5
...
...
@@ -11,13 +11,16 @@
struct
ia64_machine_vector
ia64_mv
;
/*
* Most platforms use this routine for mapping page frame addresses
* into a memory map index.
* Most platforms use this routine for mapping page frame addresses into a memory map
* index.
*
* Note: we can't use __pa() because map_nr_dense(X) MUST map to something >= max_mapnr if
* X is outside the identity mapped kernel space.
*/
unsigned
long
map_nr_dense
(
unsigned
long
addr
)
{
return
MAP_NR_DENSE
(
addr
)
;
return
(
addr
-
PAGE_OFFSET
)
>>
PAGE_SHIFT
;
}
static
struct
ia64_machine_vector
*
...
...
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