Add kernel revert cmd.