Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dfcc6449 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Russell King
Browse files

[ARM] 5271/1: get rid of pages_to_mb()



There is no use of this in the whole tree.

Signed-off-by: default avatarNicolas Pitre <nico@marvell.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 76ebc6a4
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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.