DragonFly BSD
 

Issue1034

Title code comment update for set_tls_area/get_tls_area
Priority cleanup Status resolved
Superseder Nosy List jgordeev
Assigned To Topics

Created on 2008-06-28.19:52:06 by jgordeev, last changed 2008-08-20.07:27:30 by matthias.

Messages
msg5292 (view) Author: matthias Date: 2008-08-20.07:27:30
Committed by dillon@
msg4796 (view) Author: dillon Date: 2008-06-29.20:28:02
:The included patch makes code comments match code and documentation (man 
:page).

    Committed :-)

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>
msg4795 (view) Author: jgordeev Date: 2008-06-28.19:52:02
The included patch makes code comments match code and documentation (man 
page).

Index: sys/platform/pc32/i386/tls.c
===================================================================
--- sys/platform/pc32/i386/tls.c    (revision 27)
+++ sys/platform/pc32/i386/tls.c    (working copy)
@@ -62,7 +62,7 @@
  * Returns the value userland needs to load into %gs representing the
  * TLS descriptor or -1 on error.
  *
- * (struct tls_info *info, int infosize, int which)
+ * (int which, struct tls_info *info, size_t infosize)
  */
 int
 sys_set_tls_area(struct set_tls_area_args *uap)
@@ -154,7 +154,7 @@
  * Returns the value userland needs to load into %gs representing the
  * TLS descriptor or -1 on error.
  *
- * (struct tls_info *info, int infosize, int which)
+ * (int which, struct tls_info *info, size_t infosize)
  */
 int
 sys_get_tls_area(struct get_tls_area_args *uap)
Index: sys/platform/pc64/amd64/tls.c
===================================================================
--- sys/platform/pc64/amd64/tls.c    (revision 27)
+++ sys/platform/pc64/amd64/tls.c    (working copy)
@@ -61,7 +61,7 @@
  * Returns the value userland needs to load into %gs representing the
  * TLS descriptor or -1 on error.
  *
- * (struct tls_info *info, int infosize, int which)
+ * (int which, struct tls_info *info, size_t infosize)
  */
 int
 sys_set_tls_area(struct set_tls_area_args *uap)
@@ -153,7 +153,7 @@
  * Returns the value userland needs to load into %gs representing the
  * TLS descriptor or -1 on error.
  *
- * (struct tls_info *info, int infosize, int which)
+ * (int which, struct tls_info *info, size_t infosize)
  */
 int
 sys_get_tls_area(struct get_tls_area_args *uap)
History
Date User Action Args
2008-08-20 07:27:30matthiassetpriority: cleanup
status: chatting -> resolved
messages: + msg5292
2008-06-29 20:28:04dillonsetstatus: unread -> chatting
messages: + msg4796
2008-06-28 19:52:06jgordeevcreate