[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1421264936-9495-1-git-send-email-vitalya@ti.com>
Date: Wed, 14 Jan 2015 14:48:56 -0500
From: Vitaly Andrianov <vitalya@...com>
To: <linux@....linux.org.uk>, <thomas.petazzoni@...e-electrons.com>,
<catalin.marinas@....com>, <linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
CC: Vitaly Andrianov <vitalya@...com>
Subject: [PATCH] arm: mm: remove unused ioremap_page()
This patch removes unused ioremap_page().
Signed-off-by: Vitaly Andrianov <vitalya@...com>
---
arch/arm/include/asm/mach/map.h | 5 -----
arch/arm/mm/ioremap.c | 8 --------
2 files changed, 13 deletions(-)
diff --git a/arch/arm/include/asm/mach/map.h b/arch/arm/include/asm/mach/map.h
index f98c7f3..be2b68e 100644
--- a/arch/arm/include/asm/mach/map.h
+++ b/arch/arm/include/asm/mach/map.h
@@ -52,11 +52,6 @@ static inline void debug_ll_io_init(void) {}
struct mem_type;
extern const struct mem_type *get_mem_type(unsigned int type);
-/*
- * external interface to remap single page with appropriate type
- */
-extern int ioremap_page(unsigned long virt, unsigned long phys,
- const struct mem_type *mtype);
#else
#define iotable_init(map,num) do { } while (0)
#define vm_reserve_area_early(a,s,c) do { } while (0)
diff --git a/arch/arm/mm/ioremap.c b/arch/arm/mm/ioremap.c
index d1e5ad7..c91633f 100644
--- a/arch/arm/mm/ioremap.c
+++ b/arch/arm/mm/ioremap.c
@@ -103,14 +103,6 @@ void __init add_static_vm_early(struct static_vm *svm)
list_add_tail(&svm->list, &curr_svm->list);
}
-int ioremap_page(unsigned long virt, unsigned long phys,
- const struct mem_type *mtype)
-{
- return ioremap_page_range(virt, virt + PAGE_SIZE, phys,
- __pgprot(mtype->prot_pte));
-}
-EXPORT_SYMBOL(ioremap_page);
-
void __check_vmalloc_seq(struct mm_struct *mm)
{
unsigned int seq;
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists