]> git.baikalelectronics.ru Git - kernel.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)
commitbb7793660778025a94aededeb8c055081b1e33b7
treed70e3f009a29a7bbfe68b956608854db416bc2af
parent9e30606a132c18e29535e4493b7dd1328f14aa65
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]