Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/x86 x86_print_ldt() is only used in the USER_LD...



details:   https://anonhg.NetBSD.org/src/rev/d6db9fa29745
branches:  trunk
changeset: 770268:d6db9fa29745
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Mon Oct 10 15:15:28 2011 +0000

description:
x86_print_ldt() is only used in the USER_LDT && LDT_DEBUG case.

diffstat:

 sys/arch/x86/x86/sys_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e9e01c611f50 -r d6db9fa29745 sys/arch/x86/x86/sys_machdep.c
--- a/sys/arch/x86/x86/sys_machdep.c    Mon Oct 10 14:07:16 2011 +0000
+++ b/sys/arch/x86/x86/sys_machdep.c    Mon Oct 10 15:15:28 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys_machdep.c,v 1.24 2010/07/07 01:20:50 chs Exp $     */
+/*     $NetBSD: sys_machdep.c,v 1.25 2011/10/10 15:15:28 jakllsch Exp $        */
 
 /*-
  * Copyright (c) 1998, 2007, 2009 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_machdep.c,v 1.24 2010/07/07 01:20:50 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_machdep.c,v 1.25 2011/10/10 15:15:28 jakllsch Exp $");
 
 #include "opt_mtrr.h"
 #include "opt_perfctrs.h"
@@ -97,7 +97,7 @@
 int x86_get_sdbase32(void *, char);
 int x86_get_sdbase(void *, char);
 
-#ifdef LDT_DEBUG
+#if defined(USER_LDT) && defined(LDT_DEBUG)
 static void x86_print_ldt(int, const struct segment_descriptor *);
 
 static void



Home | Main Index | Thread Index | Old Index