diff options
author | Matt Fleming <matt@console-pimps.org> | 2009-11-05 08:54:17 +0100 |
---|---|---|
committer | Matt Fleming <matt@console-pimps.org> | 2010-01-16 15:31:36 +0100 |
commit | 4d35b93a66e9b87df20784fcf130d2e8760be53f (patch) | |
tree | af0b82ab28a0e4142130c6510cc06cca3d4a67aa /arch/sh/mm/Makefile | |
parent | sh: Generalise the pte handling code for the fixmap path (diff) | |
download | linux-4d35b93a66e9b87df20784fcf130d2e8760be53f.tar.xz linux-4d35b93a66e9b87df20784fcf130d2e8760be53f.zip |
sh: Add fixed ioremap support
Some devices need to be ioremap'd and accessed very early in the boot
process. It is not possible to use the standard ioremap() function in
this case because that requires kmalloc()'ing some virtual address space
and kmalloc() may not be available so early in boot.
This patch provides fixmap mappings that allow physical address ranges
to be remapped into the kernel address space during the early boot
stages.
Signed-off-by: Matt Fleming <matt@console-pimps.org>
Diffstat (limited to 'arch/sh/mm/Makefile')
-rw-r--r-- | arch/sh/mm/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/mm/Makefile b/arch/sh/mm/Makefile index edde8bdd681d..89ba56c20ade 100644 --- a/arch/sh/mm/Makefile +++ b/arch/sh/mm/Makefile @@ -35,6 +35,7 @@ endif obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o obj-$(CONFIG_PMB) += pmb.o obj-$(CONFIG_NUMA) += numa.o +obj-$(CONFIG_IOREMAP_FIXED) += ioremap_fixed.o # Special flags for fault_64.o. This puts restrictions on the number of # caller-save registers that the compiler can target when building this file. |