From d7c8f21a8cad0228c7c5ce2bb6dbd95d1ee49d13 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 30 Jan 2008 13:34:07 +0100 Subject: 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 Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- sound/pci/intel8x0.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sound') diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c index e5650905296e..4bb97646a67a 100644 --- a/sound/pci/intel8x0.c +++ b/sound/pci/intel8x0.c @@ -715,7 +715,6 @@ static void fill_nocache(void *buf, int size, int nocache) set_pages_uc(virt_to_page(buf), size); else set_pages_wb(virt_to_page(buf), size); - global_flush_tlb(); } #else #define fill_nocache(buf, size, nocache) do { ; } while (0) -- cgit v1.2.3-58-ga151