projects
/
GitHub
/
LineageOS
/
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:
76ebc6a
)
[ARM] 5271/1: get rid of pages_to_mb()
author
Nicolas Pitre
<nico@cam.org>
Tue, 30 Sep 2008 15:05:09 +0000
(16:05 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Tue, 30 Sep 2008 15:40:59 +0000
(16:40 +0100)
There is no use of this in the whole tree.
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/pgtable.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/include/asm/pgtable.h
b/arch/arm/include/asm/pgtable.h
index 8e21ef15bd743b9fb3b019bd7c9cc559c3c2ab61..ec630109a8c75aa642ebc786762f470ddbf22598 100644
(file)
--- a/
arch/arm/include/asm/pgtable.h
+++ b/
arch/arm/include/asm/pgtable.h
@@
-319,11
+319,6
@@
static inline pte_t *pmd_page_vaddr(pmd_t pmd)
#define pmd_page(pmd) virt_to_page(__va(pmd_val(pmd)))
-/*
- * Permanent address of a page. We never have highmem, so this is trivial.
- */
-#define pages_to_mb(x) ((x) >> (20 - PAGE_SHIFT))
-
/*
* Conversion functions: convert a page and protection to a page entry,
* and a page entry and page directory to the page they refer to.