Effect of trapped energetic particles on the resistive wall mode.