summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/ioremap_64.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-01-18 21:21:32 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-01-18 21:21:32 +0900
commit0b59e38ffaf7b201ff6afe5b736365d16848c7e3 (patch)
tree1cc2071cbf61bf57dc774970a76768f5d157af2e /arch/sh/mm/ioremap_64.c
parentedf711b66f2a8a9629aa253ad8b3a5a03b5d7af5 (diff)
downloadop-kernel-dev-0b59e38ffaf7b201ff6afe5b736365d16848c7e3.zip
op-kernel-dev-0b59e38ffaf7b201ff6afe5b736365d16848c7e3.tar.gz
sh: Merge _32/_64 ioremap implementations.
There is nothing of interest in the _64 version anymore, so the _32 one can be renamed and used unconditionally. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/ioremap_64.c')
-rw-r--r--arch/sh/mm/ioremap_64.c47
1 files changed, 0 insertions, 47 deletions
diff --git a/arch/sh/mm/ioremap_64.c b/arch/sh/mm/ioremap_64.c
deleted file mode 100644
index fb0aa45..0000000
--- a/arch/sh/mm/ioremap_64.c
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * arch/sh/mm/ioremap_64.c
- *
- * Copyright (C) 2000, 2001 Paolo Alberelli
- * Copyright (C) 2003 - 2007 Paul Mundt
- *
- * Mostly derived from arch/sh/mm/ioremap.c which, in turn is mostly
- * derived from arch/i386/mm/ioremap.c .
- *
- * (C) Copyright 1995 1996 Linus Torvalds
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License. See the file "COPYING" in the main directory of this archive
- * for more details.
- */
-#include <linux/vmalloc.h>
-#include <linux/ioport.h>
-#include <linux/module.h>
-#include <linux/mm.h>
-#include <linux/io.h>
-#include <linux/bootmem.h>
-#include <linux/proc_fs.h>
-#include <linux/slab.h>
-#include <asm/page.h>
-#include <asm/pgalloc.h>
-#include <asm/addrspace.h>
-#include <asm/cacheflush.h>
-#include <asm/tlbflush.h>
-#include <asm/mmu.h>
-
-void __iomem *__ioremap_caller(unsigned long offset, unsigned long size,
- unsigned long flags, void *caller)
-{
- pgprot_t prot;
-
- prot = __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE |
- _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_SHARED | flags);
-
- return ioremap_fixed(offset, size, prot);
-}
-EXPORT_SYMBOL(__ioremap_caller);
-
-void __iounmap(void __iomem *virtual)
-{
- iounmap_fixed(virtual);
-}
-EXPORT_SYMBOL(__iounmap);
OpenPOWER on IntegriCloud