Replace __offsetof with similiar pointer expression and use "m"
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 10 May 2005 15:29:53 +0000 (15:29 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 10 May 2005 15:29:53 +0000 (15:29 +0000)
commitdfd2ec9b0e8cf1b19c721ccf7e868b4f859462ed
tree2107a1be3aef8ea29aafa46ee3cb0184004f1c3f
parenta4b44056e42b5b62e56d5657489885a16413c7d4
Replace __offsetof with similiar pointer expression and use "m"
contraint. This generates the correct assembly as before, but removes
the hard coded offsets.

Work-around-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
sys/cpu/i386/include/tls.h
sys/i386/include/tls.h