[BACK]Return to kern_sleepq.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/kern_sleepq.c between version 1.35 and 1.35.8.1

version 1.35, 2008/10/15 06:51:20 version 1.35.8.1, 2009/05/13 17:21:56
Line 1 
Line 1 
 /*      $NetBSD$        */  /*      $NetBSD$        */
   
 /*-  /*-
  * Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.   * Copyright (c) 2006, 2007, 2008, 2009 The NetBSD Foundation, Inc.
  * All rights reserved.   * All rights reserved.
  *   *
  * This code is derived from software contributed to The NetBSD Foundation   * This code is derived from software contributed to The NetBSD Foundation
Line 72  sleeptab_init(sleeptab_t *st)
Line 72  sleeptab_init(sleeptab_t *st)
   
         for (i = 0; i < SLEEPTAB_HASH_SIZE; i++) {          for (i = 0; i < SLEEPTAB_HASH_SIZE; i++) {
                 sq = &st->st_queues[i].st_queue;                  sq = &st->st_queues[i].st_queue;
                 mutex_init(&st->st_queues[i].st_mutex, MUTEX_DEFAULT,                  st->st_queues[i].st_mutex =
                     IPL_SCHED);                      mutex_obj_alloc(MUTEX_DEFAULT, IPL_SCHED);
                 sleepq_init(sq);                  sleepq_init(sq);
         }          }
 }  }

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.35.8.1

CVSweb <webmaster@jp.NetBSD.org>