]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
x86: add iomap_atomic*()/iounmap_atomic() on 32-bit using fixmaps
authorKeith Packard <keithp@keithp.com>
Fri, 31 Oct 2008 02:37:09 +0000 (19:37 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 31 Oct 2008 09:12:38 +0000 (10:12 +0100)
commitfd9409343521eac22b6ed51686128a643c7c976b
treed70e3f009a29a7bbfe68b956608854db416bc2af
parent721d5dfe7e516954c501d5e9d0dfab379cf4241a
x86: add iomap_atomic*()/iounmap_atomic() on 32-bit using fixmaps

Impact: introduce new APIs, separate kmap code from CONFIG_HIGHMEM

This takes the code used for CONFIG_HIGHMEM memory mappings except that
it's designed for dynamic IO resource mapping.

These fixmaps are available even with CONFIG_HIGHMEM turned off.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/fixmap.h
arch/x86/include/asm/fixmap_32.h
arch/x86/include/asm/highmem.h
arch/x86/mm/Makefile
arch/x86/mm/init_32.c
arch/x86/mm/iomap_32.c [new file with mode: 0644]
include/asm-x86/iomap.h [new file with mode: 0644]