diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-12-18 02:04:42 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-12-18 02:04:42 +0100 |
commit | b7e7e5ef3fb563b2f52c15a7a680d814ba477840 (patch) | |
tree | a167815f61f8b123d45e24e536a8d7b95af96481 /sys/src/9/pc/mmu.c | |
parent | 3e7d181191769eebb8f5bd64ce2bc8f9a7ef2a56 (diff) |
pc: remove mmuinit0()
all mmuinit0() does is initialize m->gdt, but this isnt neccesary
as this is done by mmuinit() anyway before loading the gdt.
Diffstat (limited to 'sys/src/9/pc/mmu.c')
-rw-r--r-- | sys/src/9/pc/mmu.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/src/9/pc/mmu.c b/sys/src/9/pc/mmu.c index 6fbc323af..0994d7be2 100644 --- a/sys/src/9/pc/mmu.c +++ b/sys/src/9/pc/mmu.c @@ -67,12 +67,6 @@ static void memglobal(void); #define vpd (vpt+VPTX(VPT)) void -mmuinit0(void) -{ - memmove(m->gdt, gdt, sizeof gdt); -} - -void mmuinit(void) { ulong x, *p; |