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)
commit38a6f4266989c4dae68eccb1a5cb4580a48003e4
treedba1fecb1c0631f4d9b3dfb9f56d11f92d905a4f
parentc8ddb2713c624f432fa5fe3c7ecffcdda46ea0d4
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