Print this page
8368 remove warlock leftovers from usr/src/uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/vcons_conf.c
          +++ new/usr/src/uts/common/io/vcons_conf.c
↓ open down ↓ 54 lines elided ↑ open up ↑
  55   55   * console_user symbol link minor number.
  56   56   * VT_MINOR_INVALID     :       /dev/console
  57   57   *      N               :       /dev/vt/N
  58   58   */
  59   59  minor_t vc_cons_user = VT_MINOR_INVALID;
  60   60  /* vc_state_t AVL tree */
  61   61  avl_tree_t vc_avl_root;
  62   62  /* virtual console global lock */
  63   63  kmutex_t vc_lock;
  64   64  
  65      -_NOTE(MUTEX_PROTECTS_DATA(vc_lock, wc_dip vc_avl_root vc_active_console
  66      -vc_cons_user))
  67      -
  68   65  /*
  69   66   * Called from vt devname part. Checks if dip is attached. If it is,
  70   67   * return its major number.
  71   68   */
  72   69  major_t
  73   70  vt_wc_attached(void)
  74   71  {
  75   72          major_t maj = (major_t)-1;
  76   73  
  77   74          mutex_enter(&vc_lock);
↓ open down ↓ 63 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX