> for (cpu = cpu_first_thread_in_core(cpu); > cpu <= cpu_last_thread_in_core(cpu); cpu++) > __clear_bit(id, stale_map[cpu]); > > == > > cpu = cpu_first_thread_in_core(cpu); > while (cpu <= cpu_last_thread_in_core(cpu)) { > __clear_bit(id, stale_map[cpu]); > cpu++; > } > > cpu = 0 > cpu <= 1 > cpu++ (1) > cpu <= 1 > cpu++ (2) > cpu <= 3 > ...
Ah right, /me takes snow out of his eyes... indeed, the upper bound is fubar. Hrm. Allright, we'll use a temp. Cheers, Ben. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev