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
nexedi
linux
Commits
c4e1f6f6
Commit
c4e1f6f6
authored
May 10, 2005
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ARM: Add top_pmd, which points at the top-most page table
Signed-off-by:
Russell King
<
rmk@arm.linux.org.uk
>
parent
155bb144
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
arch/arm/mm/mm-armv.c
arch/arm/mm/mm-armv.c
+4
-0
include/asm-arm/page.h
include/asm-arm/page.h
+3
-0
No files found.
arch/arm/mm/mm-armv.c
View file @
c4e1f6f6
...
...
@@ -37,6 +37,8 @@ pgprot_t pgprot_kernel;
EXPORT_SYMBOL
(
pgprot_kernel
);
pmd_t
*
top_pmd
;
struct
cachepolicy
{
const
char
policy
[
16
];
unsigned
int
cr_mask
;
...
...
@@ -682,6 +684,8 @@ void __init memtable_init(struct meminfo *mi)
flush_cache_all
();
flush_tlb_all
();
top_pmd
=
pmd_off_k
(
VECTORS_HIGH
);
}
/*
...
...
include/asm-arm/page.h
View file @
c4e1f6f6
...
...
@@ -171,6 +171,9 @@ typedef unsigned long pgprot_t;
#endif
/* STRICT_MM_TYPECHECKS */
/* the upper-most page table pointer */
extern
pmd_t
*
top_pmd
;
/* Pure 2^n version of get_order */
static
inline
int
get_order
(
unsigned
long
size
)
{
...
...
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