[Cbe-oss-dev] [PATCH] spufs: remove harmful initialize code

Noguchi, Masato Masato.Noguchi at jp.sony.com
Mon Jul 23 21:30:32 EST 2007


> Mainline also seem to lack the __set_bit(MAX_PRIO, spu_prio->bitmap);
> just below the clear_bit loop so there might be more problems.

It's my change on the patch:
  [CELL] spufs: use find_first_bit() instead of sched_find_first_bit()

Unlike sched_fird_first_bit(), find_first_bit() can receive an argument
to restrict the maximum size to search. Thus, I thought that a guardian
bit becomes unnecessary, and I removed it.

 > Masato.Noguchi at jp.sony.com < 





More information about the cbe-oss-dev mailing list