x86: cpa: move flush to cpa
commitd7c8f21a8cad0228c7c5ce2bb6dbd95d1ee49d13
authorThomas Gleixner <tglx@linutronix.de>
Wed, 30 Jan 2008 12:34:07 +0000 (30 13:34 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:34:07 +0000 (30 13:34 +0100)
treed1e305bec62022a0bec82a3499a372c2c7c40583
parentd1028a154c65d7fadd1b2d0276c077014d401ec7
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