]> Zhao Yanbai Git Server - minix.git/commitdiff
Removed superfluous assignment to text_base. Reported by Ildar Ismagilov.
authorPhilip Homburg <philip@cs.vu.nl>
Mon, 28 Aug 2006 14:59:55 +0000 (14:59 +0000)
committerPhilip Homburg <philip@cs.vu.nl>
Mon, 28 Aug 2006 14:59:55 +0000 (14:59 +0000)
kernel/main.c

index 5b2707acf6497cdd18604e97273918524549347b..14d27ed5fcbe21c97525b16e4a6eb46eff181008 100755 (executable)
@@ -111,8 +111,6 @@ PUBLIC void main()
                }
                ktsb += ip->stksize;    /* point to high end of stack */
                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 */
        } else {
                hdrindex = 1 + i-NR_TASKS;      /* servers, drivers, INIT */