Subject: Re: CVS commit: src/sys (lock.h now including uintptr_t)
To: None <source-changes@netbsd.org>
From: Geoff Wing <mason@primenet.com.au>
List: source-changes
Date: 10/12/2007 01:33:55
Andrew Doran <ad@netbsd.org> typed:
: Module Name: src
: Committed By: ad
: Date: Thu Oct 11 19:45:27 UTC 2007
:
: Modified Files:
: src/sys/kern: init_main.c kern_lock.c kern_malloc.c kern_mutex.c
: kern_rwlock.c subr_lockdebug.c subr_pool.c
: src/sys/rump/librump/rumpkern: lock.c
: src/sys/sys: lock.h lockdebug.h simplelock.h systm.h
: Log Message:
: Merge from vmlocking:
: - G/C spinlockmgr() and simple_lock debugging.
: - Always include the kernel_lock functions, for LKMs.
: - Slightly improved subr_lockdebug code.
: - Keep sizeof(struct lock) the same if LOCKDEBUG.
[...]
: cvs rdiff -r1.73 -r1.74 src/sys/sys/lock.h
Now that <sys/lock.h> wants uintptr_t, should it also be pulling in
<sys/stdint.h> ? <sys/types.h> is conservative about doing so.
Currently the only in-tree fall-out I've found is in
src/regress/sys/kern/extent
Regards,
Geoff
--- regress/sys/kern/extent/extest.awk.org 2006-05-11 11:25:24.000000000 +1000
+++ regress/sys/kern/extent/extest.awk 2007-10-12 11:22:13.000000000 +1000
@@ -4,6 +4,7 @@
first = 1;
printf("#include <sys/types.h>\n")
+ printf("#include <sys/stdint.h>\n")
printf("#include <sys/extent.h>\n\n")
printf("#include <stdio.h>\n")
printf("#include <stdlib.h>\n")