tile: support CONFIG_PREEMPT
authorChris Metcalf <cmetcalf@tilera.com>
Wed, 7 Aug 2013 15:36:54 +0000 (11:36 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 13 Aug 2013 20:26:01 +0000 (16:26 -0400)
commitbc1a298f4e04833db4c430df59b90039f0170515
tree802da739309efeab62317f62ec4f1989f3f7d8dd
parent1182b69cb24c4f7d7ee8c8afe41b5ab2bc05a15b
tile: support CONFIG_PREEMPT

This change adds support for CONFIG_PREEMPT (full kernel preemption).
In addition to the core support, this change includes a number
of places where we fix up uses of smp_processor_id() and per-cpu
variables.  I also eliminate the PAGE_HOME_HERE and PAGE_HOME_UNKNOWN
values for page homing, as it turns out they weren't being used.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
14 files changed:
arch/tile/Kconfig
arch/tile/include/asm/homecache.h
arch/tile/include/asm/irqflags.h
arch/tile/kernel/asm-offsets.c
arch/tile/kernel/hardwall.c
arch/tile/kernel/intvec_32.S
arch/tile/kernel/intvec_64.S
arch/tile/kernel/irq.c
arch/tile/kernel/smp.c
arch/tile/kernel/smpboot.c
arch/tile/kernel/stack.c
arch/tile/kernel/sys.c
arch/tile/lib/memcpy_tile64.c
arch/tile/mm/homecache.c