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
08f4ffb3
Commit
08f4ffb3
authored
Sep 01, 2005
by
Russell King
Committed by
Russell King
Sep 01, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Convert open-coded __pmd_populate to use inline function
Signed-off-by:
Russell King
<
rmk+kernel@arm.linux.org.uk
>
parent
569d2c34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
arch/arm/mm/mm-armv.c
arch/arm/mm/mm-armv.c
+1
-5
No files found.
arch/arm/mm/mm-armv.c
View file @
08f4ffb3
...
...
@@ -295,14 +295,10 @@ alloc_init_page(unsigned long virt, unsigned long phys, unsigned int prot_l1, pg
pte_t
*
ptep
;
if
(
pmd_none
(
*
pmdp
))
{
unsigned
long
pmdval
;
ptep
=
alloc_bootmem_low_pages
(
2
*
PTRS_PER_PTE
*
sizeof
(
pte_t
));
pmdval
=
__pa
(
ptep
)
|
prot_l1
;
pmdp
[
0
]
=
__pmd
(
pmdval
);
pmdp
[
1
]
=
__pmd
(
pmdval
+
256
*
sizeof
(
pte_t
));
flush_pmd_entry
(
pmdp
);
__pmd_populate
(
pmdp
,
__pa
(
ptep
)
|
prot_l1
);
}
ptep
=
pte_offset_kernel
(
pmdp
,
virt
);
...
...
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