projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a13feb
)
parisc: Fix wrong comment regarding first pmd entry flags
author
Helge Deller
<deller@gmx.de>
Fri, 20 Nov 2015 09:09:18 +0000
(10:09 +0100)
committer
Helge Deller
<deller@gmx.de>
Fri, 20 Nov 2015 09:19:18 +0000
(10:19 +0100)
The first pmd entry is marked with PxD_FLAG_ATTACHED instead of
_PAGE_GATEWAY.
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/pgalloc.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/parisc/include/asm/pgalloc.h
b/arch/parisc/include/asm/pgalloc.h
index 3edbb9fc91b4e055307d3c7519592a00201d988a..f2fd327dce2edc14db5717211fe27943e957fcf0 100644
(file)
--- a/
arch/parisc/include/asm/pgalloc.h
+++ b/
arch/parisc/include/asm/pgalloc.h
@@
-35,7
+35,7
@@
static inline pgd_t *pgd_alloc(struct mm_struct *mm)
PxD_FLAG_VALID |
PxD_FLAG_ATTACHED)
+ (__u32)(__pa((unsigned long)pgd) >> PxD_VALUE_SHIFT));
- /* The first pmd entry also is marked with
_PAGE_GATEWAY
as
+ /* The first pmd entry also is marked with
PxD_FLAG_ATTACHED
as
* a signal that this pmd may not be freed */
__pgd_val_set(*pgd, PxD_FLAG_ATTACHED);
#endif