  Let $X$ be a smooth threefold over an algebraically closed field of positive
characteristic. We prove that an arbitrary flop of $X$ is smooth. To this end,
we study Gorenstein curves of genus one and two-dimensional elliptic
singularities defined over imperfect fields.
