summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/pgtable.h
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2008-09-30 17:05:09 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-09-30 17:40:59 +0200
commitdfcc64497cbbf942cdd5af4b7eb17542b62aa759 (patch)
tree6a00998b398e52b357d57fbe63c4fd287321e09a /arch/arm/include/asm/pgtable.h
parent[ARM] 5269/1: ARMv7: Use -march=armv7-a as compiler flag (diff)
downloadlinux-dfcc64497cbbf942cdd5af4b7eb17542b62aa759.tar.xz
linux-dfcc64497cbbf942cdd5af4b7eb17542b62aa759.zip
[ARM] 5271/1: get rid of pages_to_mb()
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>
Diffstat (limited to 'arch/arm/include/asm/pgtable.h')
-rw-r--r--arch/arm/include/asm/pgtable.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/include/asm/pgtable.h b/arch/arm/include/asm/pgtable.h
index 8e21ef15bd74..ec630109a8c7 100644
--- a/arch/arm/include/asm/pgtable.h
+++ b/arch/arm/include/asm/pgtable.h
@@ -320,11 +320,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.
*/