Photonic crystal cavity with linear gain