Source-Changes-HG archive

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

[src/netbsd-6]: src/sys/sys Pull up following revision(s) (requested by dsl i...



details:   https://anonhg.NetBSD.org/src/rev/9d03fecc272e
branches:  netbsd-6
changeset: 774188:9d03fecc272e
user:      riz <riz%NetBSD.org@localhost>
date:      Tue Jun 12 17:06:38 2012 +0000

description:
Pull up following revision(s) (requested by dsl in ticket #305):
        sys/sys/sysctl.h: patch

Define CTLTYPE_LONG in preparation for more pullups.

diffstat:

 sys/sys/sysctl.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 7054b8421730 -r 9d03fecc272e sys/sys/sysctl.h
--- a/sys/sys/sysctl.h  Mon Jun 11 23:22:42 2012 +0000
+++ b/sys/sys/sysctl.h  Tue Jun 12 17:06:38 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysctl.h,v 1.199 2012/01/27 19:48:41 para Exp $        */
+/*     $NetBSD: sysctl.h,v 1.199.2.1 2012/06/12 17:06:38 riz Exp $     */
 
 /*
  * Copyright (c) 1989, 1993
@@ -94,6 +94,12 @@
 #define        CTLTYPE_STRUCT  5       /* name describes a structure */
 #define        CTLTYPE_BOOL    6       /* name describes a bool */
 
+#ifdef _LP64
+#define        CTLTYPE_LONG    CTLTYPE_QUAD
+#else
+#define        CTLTYPE_LONG    CTLTYPE_INT
+#endif
+
 /*
  * Flags that apply to each node, governing access and other features
  */



Home | Main Index | Thread Index | Old Index