projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9c7e7f2
)
kernel - lwbuf, don't rely on gcc auto-arrays
author
Samuel J. Greear <sjg@thesjg.com>
Wed, 31 Mar 2010 09:28:11 +0000 (
03:28
-0600)
committer
Samuel J. Greear <sjg@thesjg.com>
Wed, 31 Mar 2010 09:28:11 +0000 (
03:28
-0600)
sys/cpu/i386/misc/lwbuf.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/cpu/i386/misc/lwbuf.c
b/sys/cpu/i386/misc/lwbuf.c
index
ca0b054
..
a51c953
100644
(file)
--- a/
sys/cpu/i386/misc/lwbuf.c
+++ b/
sys/cpu/i386/misc/lwbuf.c
@@
-72,7
+72,7
@@
SYSCTL_INT(_kern_ipc, OID_AUTO, lwbuf_reserve, CTLFLAG_RD,
static int
do_lwbuf_count(SYSCTL_HANDLER_ARGS)
{
- int count[ncpus];
+ int count[SMP_MAXCPU];
struct mdglobaldata *gd;
int i;