git: linux emu - fix MP bug related to TLS

Alex Hornung alexh at
Tue Mar 16 04:34:47 PDT 2010

commit 7c247c7a61728bcf4dfb5da13b4d7d6cb41caabd
Author: Alex Hornung <ahornung at>
Date:   Tue Mar 16 11:29:21 2010 +0000

    linux emu - fix MP bug related to TLS
    * all TLS functions were passing out or assuming the wrong value to load
      into gs. As a matter of fact, this should be the same for SMP and UP,
      but just in case keep the old code in #if 0's.

Summary of changes:
 sys/emulation/linux/i386/linux_machdep.c |   20 ++++++++------------
 1 files changed, 8 insertions(+), 12 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list