Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libi386 remove hacks.



details:   https://anonhg.NetBSD.org/src/rev/ab991a29eb3b
branches:  trunk
changeset: 378933:ab991a29eb3b
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Apr 30 13:53:30 2021 +0000

description:
remove hacks.

diffstat:

 tests/lib/libi386/t_user_ldt.c |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (20 lines):

diff -r d237464e5907 -r ab991a29eb3b tests/lib/libi386/t_user_ldt.c
--- a/tests/lib/libi386/t_user_ldt.c    Fri Apr 30 06:55:32 2021 +0000
+++ b/tests/lib/libi386/t_user_ldt.c    Fri Apr 30 13:53:30 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_user_ldt.c,v 1.5 2020/07/19 14:31:31 maxv Exp $      */
+/*     $NetBSD: t_user_ldt.c,v 1.6 2021/04/30 13:53:30 christos Exp $  */
 
 /*
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -41,10 +41,7 @@
 #include <machine/segments.h>
 #include <machine/sysarch.h>
 #include <machine/vmparam.h>
-
-#define _LOCORE /* XXX a bit of a hack, but whatever */
 #include <machine/gdt.h>
-#undef _LOCORE
 
 #include <atf-c.h>
 



Home | Main Index | Thread Index | Old Index