Print this page
[mq]: core-v2

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4/os/mp_states.c
          +++ new/usr/src/uts/sun4/os/mp_states.c
↓ open down ↓ 64 lines elided ↑ open up ↑
  65   65          debug_flush_windows();
  66   66  
  67   67          CPU->cpu_m.in_prom = 1;
  68   68          membar_stld();
  69   69  
  70   70          save = curthread->t_pcb;
  71   71          (void) setjmp(&curthread->t_pcb);
  72   72  
  73   73          kern_idle[CPU->cpu_id] = 1;
  74   74          while (kern_idle[CPU->cpu_id])
  75      -                dumpsys_helper_nw();
       75 +                /* SPIN */;
  76   76  
  77   77          CPU->cpu_m.in_prom = 0;
  78   78          membar_stld();
  79   79  
  80   80          curthread->t_pcb = save;
  81   81          splx(s);
  82   82  }
  83   83  
  84   84  void
  85   85  idle_other_cpus(void)
↓ open down ↓ 247 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX