Fix TLS for PIC systems
This commit is contained in:
parent
45a9782636
commit
57ae146362
1
proc.c
1
proc.c
|
@ -75,6 +75,7 @@ ksegment(void)
|
|||
loadfsgs(SEG_KCPU << 3);
|
||||
|
||||
// Initialize cpu-local variables.
|
||||
c->tlsstruct = &c->tlsstruct;
|
||||
cpu = c;
|
||||
proc = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue