A general solution to non-linear particle acceleration at non-relativistic shock waves