From bde028dd8d856f8d47c39e3c6d3731c34c398c74 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 26 Jan 2009 22:58:58 -0500 Subject: [PATCH] loader: Remove icache flushes on alpha. If libdl doesn't already get this right for you, you have two problems. --- hw/xfree86/loader/loadmod.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/hw/xfree86/loader/loadmod.c b/hw/xfree86/loader/loadmod.c index 16105a738..dbf6c2e46 100644 --- a/hw/xfree86/loader/loadmod.c +++ b/hw/xfree86/loader/loadmod.c @@ -1023,15 +1023,6 @@ doLoadModule(const char *module, const char *path, const char **subdirlist, TestFree(name); TestFree(p); - /* - * If you need to do something to keep the - * instruction cache in sync with the main - * memory before jumping to that code, you may - * do it here. - */ -#ifdef __alpha__ - istream_mem_barrier(); -#endif return ret; } @@ -1108,9 +1099,6 @@ UnloadModuleOrDriver(ModuleDescPtr mod) UnloadModuleOrDriver(mod->sib); TestFree(mod->name); xfree(mod); -#ifdef __alpha__ - istream_mem_barrier(); -#endif } void