]> git.baikalelectronics.ru Git - kernel.git/commit
x86: cpa: move flush to cpa
authorThomas Gleixner <tglx@linutronix.de>
Wed, 30 Jan 2008 12:34:07 +0000 (13:34 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:34:07 +0000 (13:34 +0100)
commit71abfa617b9a8e3ef677a0392dd28887cd1ec7a2
treed1e305bec62022a0bec82a3499a372c2c7c40583
parentfc8748210799347f4b7ddf3837d0ac66a4c4c52e
x86: cpa: move flush to cpa

The set_memory_* and set_pages_* family of API's currently requires the
callers to do a global tlb flush after the function call; forgetting this is
a very nasty deathtrap. This patch moves the global tlb flush into
each of the callers

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
12 files changed:
arch/x86/kernel/pci-gart_64.c
arch/x86/mm/init_32.c
arch/x86/mm/init_64.c
arch/x86/mm/ioremap.c
arch/x86/mm/pageattr.c
drivers/char/agp/ali-agp.c
drivers/char/agp/i460-agp.c
drivers/char/agp/intel-agp.c
drivers/video/vermilion/vermilion.c
include/asm-x86/agp.h
include/asm-x86/cacheflush.h
sound/pci/intel8x0.c