summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-03-10 08:13:07 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-03-10 08:13:07 +0000
commitb4abbbcad35ba8a9ccb1b6f59b62e86e57b705aa (patch)
tree17d0ed0f259d4af7e12a55e990393e218c7fa061
parent90c47808bb7b7d5a0ff6af26a1ae2ad3565896b6 (diff)
Notes
-rw-r--r--sys/amd64/amd64/sys_machdep.c3
-rw-r--r--sys/i386/i386/sys_machdep.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/amd64/amd64/sys_machdep.c b/sys/amd64/amd64/sys_machdep.c
index ca75f45b10be..7e33003f8ded 100644
--- a/sys/amd64/amd64/sys_machdep.c
+++ b/sys/amd64/amd64/sys_machdep.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)sys_machdep.c 5.5 (Berkeley) 1/19/91
- * $Id: sys_machdep.c,v 1.6 1994/10/30 20:23:23 bde Exp $
+ * $Id: sys_machdep.c,v 1.7 1995/03/04 02:25:36 davidg Exp $
*
*/
@@ -183,7 +183,6 @@ i386_set_ldt(p, args, retval)
if (!pcb->pcb_ldt) {
union descriptor *new_ldt =
(union descriptor *)kmem_alloc(kernel_map, 512*sizeof(union descriptor));
- bzero(new_ldt, 512*sizeof(union descriptor));
bcopy(ldt, new_ldt, sizeof(ldt));
pcb->pcb_ldt = (caddr_t)new_ldt;
pcb->pcb_ldt_len = 512; /* XXX need to grow */
diff --git a/sys/i386/i386/sys_machdep.c b/sys/i386/i386/sys_machdep.c
index ca75f45b10be..7e33003f8ded 100644
--- a/sys/i386/i386/sys_machdep.c
+++ b/sys/i386/i386/sys_machdep.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)sys_machdep.c 5.5 (Berkeley) 1/19/91
- * $Id: sys_machdep.c,v 1.6 1994/10/30 20:23:23 bde Exp $
+ * $Id: sys_machdep.c,v 1.7 1995/03/04 02:25:36 davidg Exp $
*
*/
@@ -183,7 +183,6 @@ i386_set_ldt(p, args, retval)
if (!pcb->pcb_ldt) {
union descriptor *new_ldt =
(union descriptor *)kmem_alloc(kernel_map, 512*sizeof(union descriptor));
- bzero(new_ldt, 512*sizeof(union descriptor));
bcopy(ldt, new_ldt, sizeof(ldt));
pcb->pcb_ldt = (caddr_t)new_ldt;
pcb->pcb_ldt_len = 512; /* XXX need to grow */