On a singularly perturbed elliptic equation