The International Olympic Committee has cleared the way for Iraq to compete in the Beijing Olympics after lifting its previous ban.