05_Revert-Unload-submodules.diff 756 B

1234567891011121314151617181920212223242526272829
  1. From 272537ae14a04911fcf2fec51492fa0f91c4a676 Mon Sep 17 00:00:00 2001
  2. From: Julien Cristau <jcristau@debian.org>
  3. Date: Wed, 29 Aug 2012 20:16:40 +0200
  4. Subject: [PATCH] Revert "Unload submodules."
  5. This reverts commit 0d4bb5442ceb8e8e4a8de6cfc4203cae469eee72.
  6. This doesn't seem to work quite well. See Debian bug#686152.
  7. ---
  8. hw/xfree86/common/xf86Helper.c | 6 ++++++
  9. 1 file changed, 6 insertions(+)
  10. --- a/hw/xfree86/common/xf86Helper.c
  11. +++ b/hw/xfree86/common/xf86Helper.c
  12. @@ -1596,7 +1596,13 @@ xf86LoadOneModule(char *name, pointer op
  13. void
  14. xf86UnloadSubModule(pointer mod)
  15. {
  16. + /*
  17. + * This is disabled for now. The loader isn't smart enough yet to undo
  18. + * relocations.
  19. + */
  20. +#if 0
  21. UnloadSubModule(mod);
  22. +#endif
  23. }
  24. Bool