Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
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
Commits
8b79d5f2
Commit
8b79d5f2
authored
Jul 24, 2009
by
Catalin Marinas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nommu: Add #ifdef CONFIG_MMU around the PTE sanity checks
Signed-off-by:
Catalin Marinas
<
catalin.marinas@arm.com
>
parent
b32f3afe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
arch/arm/mm/proc-macros.S
arch/arm/mm/proc-macros.S
+2
-0
No files found.
arch/arm/mm/proc-macros.S
View file @
8b79d5f2
...
@@ -77,6 +77,7 @@
...
@@ -77,6 +77,7 @@
*
Sanity
check
the
PTE
configuration
for
the
code
below
-
which
makes
*
Sanity
check
the
PTE
configuration
for
the
code
below
-
which
makes
*
certain
assumptions
about
how
these
bits
are
layed
out
.
*
certain
assumptions
about
how
these
bits
are
layed
out
.
*/
*/
#ifdef CONFIG_MMU
#if L_PTE_SHARED != PTE_EXT_SHARED
#if L_PTE_SHARED != PTE_EXT_SHARED
#error PTE shared bit mismatch
#error PTE shared bit mismatch
#endif
#endif
...
@@ -90,6 +91,7 @@
...
@@ -90,6 +91,7 @@
L_PTE_FILE
+
L_PTE_PRESENT
)
>
L_PTE_SHARED
L_PTE_FILE
+
L_PTE_PRESENT
)
>
L_PTE_SHARED
#error Invalid Linux PTE bit settings
#error Invalid Linux PTE bit settings
#endif
#endif
#endif /* CONFIG_MMU */
/*
/*
*
The
ARMv6
and
ARMv7
set_pte_ext
translation
function
.
*
The
ARMv6
and
ARMv7
set_pte_ext
translation
function
.
...
...
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