]> git.baikalelectronics.ru Git - kernel.git/commit
arch/tile: complete migration to new kmap_atomic scheme
authorChris Metcalf <cmetcalf@tilera.com>
Mon, 1 Nov 2010 19:21:35 +0000 (15:21 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Mon, 1 Nov 2010 19:30:36 +0000 (15:30 -0400)
commit2f082b7134e471ebe5d9d250a136ae56731bbff9
treedba1fecb1c0631f4d9b3dfb9f56d11f92d905a4f
parent8e0c5d72750ca72fc1d16cd788647b03ada5b1de
arch/tile: complete migration to new kmap_atomic scheme

This change makes KM_TYPE_NR independent of the actual deprecated
list of km_type values, which are no longer used in tile code anywhere.
For now we leave it set to 8, allowing that many nested mappings,
and thus reserving 32MB of address space.

A few remaining places using KM_* values were cleaned up as well.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/include/asm/highmem.h
arch/tile/include/asm/kmap_types.h
arch/tile/include/asm/pgtable.h
arch/tile/kernel/machine_kexec.c
arch/tile/lib/memcpy_tile64.c
arch/tile/mm/highmem.c
arch/tile/mm/pgtable.c