On Thu, Sep 22, 2016 at 1:09 PM, Mark Kettenis <mark.kette...@xs4all.nl> wrote: > These functions are necessary to build our kernel with clang. I > picked these from NetBSD as I didn't quite like the way FreeBSD > implemented them. I stripped all the unecessary bits from the NetBSD > implementation (which is shared with userland). > > Do the file names with the leading underscores bother people? I could > rename the files ldivmod.S and uldivmod.S.
There are other leading underbar filenames under libkern. Leave the names the way they are, IMO. > ok? They look basically sane. ok guenther@ If you want a review of numerical correctness, poke martynas@.