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
7914c5e3
Commit
7914c5e3
authored
Jan 05, 2005
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Quieten compiler warnings, etc with ARM set_pmd()
Signed-off-by:
Russell King
<
rmk@arm.linux.org.uk
>
parent
ca3b0d2f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
arch/arm/mm/mm-armv.c
arch/arm/mm/mm-armv.c
+1
-1
include/asm-arm/pgtable.h
include/asm-arm/pgtable.h
+1
-1
No files found.
arch/arm/mm/mm-armv.c
View file @
7914c5e3
...
...
@@ -526,7 +526,7 @@ void setup_mm_for_reboot(char mode)
pmdval
|=
PMD_BIT4
;
pmd
=
pmd_offset
(
pgd
+
i
,
i
<<
PGDIR_SHIFT
);
set_pmd
(
pmd
,
__pmd
(
pmdval
));
set_pmd
(
pmd
+
1
,
__pmd
(
pmdval
+
1
<<
(
PGDIR_SHIFT
-
1
)));
set_pmd
(
pmd
+
1
,
__pmd
(
pmdval
+
(
1
<<
(
PGDIR_SHIFT
-
1
)
)));
}
}
...
...
include/asm-arm/pgtable.h
View file @
7914c5e3
...
...
@@ -310,7 +310,7 @@ PTE_BIT_FUNC(mkyoung, |= L_PTE_YOUNG);
#define set_pmd(pmdp,pmd) \
do { \
*
pmdp
= pmd; \
*
(pmdp)
= pmd; \
flush_pmd_entry(pmdp); \
} while (0)
...
...
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