We are in Iraq for as long as it takes to solve the problems...
We are in Iraq for as long as it takes to solve the problems in Iraq, ... until the job is done.
We are in Iraq for as long as it takes to solve the problems in Iraq, ... until the job is done.