loader: Remove icache flushes on alpha.
If libdl doesn't already get this right for you, you have two problems.
This commit is contained in:
parent
910a1e88d2
commit
bde028dd8d
|
@ -1023,15 +1023,6 @@ doLoadModule(const char *module, const char *path, const char **subdirlist,
|
||||||
TestFree(name);
|
TestFree(name);
|
||||||
TestFree(p);
|
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;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1108,9 +1099,6 @@ UnloadModuleOrDriver(ModuleDescPtr mod)
|
||||||
UnloadModuleOrDriver(mod->sib);
|
UnloadModuleOrDriver(mod->sib);
|
||||||
TestFree(mod->name);
|
TestFree(mod->name);
|
||||||
xfree(mod);
|
xfree(mod);
|
||||||
#ifdef __alpha__
|
|
||||||
istream_mem_barrier();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue
Block a user