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(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
|
||||
|
|
Loading…
Reference in New Issue
Block a user