Rename struct sem to struct new_sem. Add struct old_sem.