Changed the spin_index_loop() function to use the same form as spin_loop().
Authored by: bugman 2008-04-14
Parent: [r5715]
Child: [r5717]