diff options
author | Nicolas Pitre <nico@cam.org> | 2008-09-30 11:05:09 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-09-30 11:40:59 -0400 |
commit | dfcc64497cbbf942cdd5af4b7eb17542b62aa759 (patch) | |
tree | 6a00998b398e52b357d57fbe63c4fd287321e09a /arch | |
parent | 76ebc6a429ec2becc2fa738c85ab9688ea4b9006 (diff) |
[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')
-rw-r--r-- | arch/arm/include/asm/pgtable.h | 5 |
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) | |||
320 | #define pmd_page(pmd) virt_to_page(__va(pmd_val(pmd))) | 320 | #define pmd_page(pmd) virt_to_page(__va(pmd_val(pmd))) |
321 | 321 | ||
322 | /* | 322 | /* |
323 | * Permanent address of a page. We never have highmem, so this is trivial. | ||
324 | */ | ||
325 | #define pages_to_mb(x) ((x) >> (20 - PAGE_SHIFT)) | ||
326 | |||
327 | /* | ||
328 | * Conversion functions: convert a page and protection to a page entry, | 323 | * Conversion functions: convert a page and protection to a page entry, |
329 | * and a page entry and page directory to the page they refer to. | 324 | * and a page entry and page directory to the page they refer to. |
330 | */ | 325 | */ |