[Linux1394-cvslog] rev 650 - trunk
Brought to you by:
aeb,
bencollins
From: SVN U. <hog...@li...> - 2002-10-27 22:03:14
|
Author: hogsberg Date: 2002-10-27 17:03:07 -0500 (Sun, 27 Oct 2002) New Revision: 650 Modified: trunk/hosts.c Log: Doh, remember to init the extra tlabel pool. Use nifty ARRAY_SIZE() macro. Modified: trunk/hosts.c ============================================================================== --- trunk/hosts.c (original) +++ trunk/hosts.c 2002-10-27 17:03:08.000000000 -0500 @@ -134,7 +134,7 @@ INIT_LIST_HEAD(&h->pending_packets); spin_lock_init(&h->pending_pkt_lock); - for (i = 0; i < 63; i++) + for (i = 0; i < ARRAY_SIZE(h->tpool); i++) HPSB_TPOOL_INIT(&h->tpool[i]); atomic_set(&h->generation, 0); |