On Thu, May 20, 2021 at 07:47:12AM +0200, Jiri Prchal wrote: > +static int mypow(int x, int n) > +{ > + int i; > + int res = 1; > + > + for (i = 0; i < n; ++i) > + res *= x; > + > + return res; > +} We really don't have a in-kernel function for this today?