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/fef7b3fd5a22
branches:  trunk
changeset: 982871:fef7b3fd5a22
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 71ac103b65d7 -r fef7b3fd5a22 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