Il Monday 03 September 2007 17:04:44 hai scritto: > > +static int gcd(int x, int y) > > +{ > > + if (x > y) > > + return (x % y) ? gcd(y, x % y) : y; > > + return (y % x) ? gcd(x, y % x) : x; > > +} > > + > > +static inline int ABS(int x) > > +{ > > + return (x >= 0) ? x : -x; > > +} > > Isn't that already available in the generic kernel code? abs() is, but gcd() is not globally accessible. Should I copy it from the non recursive from other kernel code? Matteo