summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys')
-rw-r--r--usr/src/uts/common/sys/loadavg.h16
-rw-r--r--usr/src/uts/common/sys/lwp.h11
2 files changed, 9 insertions, 18 deletions
diff --git a/usr/src/uts/common/sys/loadavg.h b/usr/src/uts/common/sys/loadavg.h
index dd9a52b9e0..79de0eb887 100644
--- a/usr/src/uts/common/sys/loadavg.h
+++ b/usr/src/uts/common/sys/loadavg.h
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -19,9 +18,10 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright (c) 1997, by Sun Microsystems, Inc.
- * All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Use is subject to license terms.
*/
#ifndef _SYS_LOADAVG_H
@@ -50,12 +50,6 @@ extern int getloadavg(int *, int);
*/
extern int getloadavg(double [], int);
-/*
- * This is the system call that implements it.
- * Do not invoke this directly.
- */
-extern int __getloadavg(int *, int);
-
#endif /* _KERNEL */
#ifdef __cplusplus
diff --git a/usr/src/uts/common/sys/lwp.h b/usr/src/uts/common/sys/lwp.h
index 8da8680bfd..1333225e65 100644
--- a/usr/src/uts/common/sys/lwp.h
+++ b/usr/src/uts/common/sys/lwp.h
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -19,8 +18,9 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -79,9 +79,6 @@ int _lwp_info(struct lwpinfo *);
lwpid_t _lwp_self(void);
int _lwp_suspend(lwpid_t);
int _lwp_continue(lwpid_t);
-#if defined(__i386) || defined(__amd64)
-int _lwp_private(int, int, void *);
-#endif /* __i386 || __amd64 */
#endif /* _KERNEL */