Add change to define restart bitmap using the generalized bitmap declaration. Also use generalized function to check if any of the bits are set in the bitmap. Change-Id: Ibfc48ef10fe9afcaefa16ef429ef9903343afe24 CRs-Fixed: 2674483