Module Name: src Committed By: maxv Date: Sun Feb 5 08:58:39 UTC 2017
Modified Files: src/sys/arch/amd64/include: segments.h Log Message: Remove misleading comment; these macros should not be used if a user LDT is active. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sys/arch/amd64/include/segments.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/amd64/include/segments.h diff -u src/sys/arch/amd64/include/segments.h:1.28 src/sys/arch/amd64/include/segments.h:1.29 --- src/sys/arch/amd64/include/segments.h:1.28 Fri Sep 2 08:52:12 2016 +++ src/sys/arch/amd64/include/segments.h Sun Feb 5 08:58:39 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: segments.h,v 1.28 2016/09/02 08:52:12 maxv Exp $ */ +/* $NetBSD: segments.h,v 1.29 2017/02/05 08:58:39 maxv Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -386,9 +386,7 @@ void cpu_fsgs_reload(struct lwp *, int, #define LSYSRETBASE_SEL LUCODE32_SEL /* - * Checks for valid user selectors. If USER_LDT ever gets implemented - * for amd64, these must check the ldt length and SEL_UPL if a user - * ldt is active. + * Checks for valid user selectors. */ #define VALID_USER_DSEL32(s) \ (((s) & 0xffff) == GSEL(GUDATA32_SEL, SEL_UPL) || \