Removed superfluous assignment to text_base. Reported by Ildar Ismagilov.
This commit is contained in:
parent
d68627f3a8
commit
62cb625f1b
|
@ -111,8 +111,6 @@ PUBLIC void main()
|
||||||
}
|
}
|
||||||
ktsb += ip->stksize; /* point to high end of stack */
|
ktsb += ip->stksize; /* point to high end of stack */
|
||||||
rp->p_reg.sp = ktsb; /* this task's initial stack ptr */
|
rp->p_reg.sp = ktsb; /* this task's initial stack ptr */
|
||||||
text_base = kinfo.code_base >> CLICK_SHIFT;
|
|
||||||
/* processes that are in the kernel */
|
|
||||||
hdrindex = 0; /* all use the first a.out header */
|
hdrindex = 0; /* all use the first a.out header */
|
||||||
} else {
|
} else {
|
||||||
hdrindex = 1 + i-NR_TASKS; /* servers, drivers, INIT */
|
hdrindex = 1 + i-NR_TASKS; /* servers, drivers, INIT */
|
||||||
|
|
Loading…
Reference in a new issue