[PATCH 09/17] Tools: hv: Represent the ipv6 mask using CIDR notation
bp at alien8.de
Tue Jul 24 17:08:32 UTC 2012
On Tue, Jul 24, 2012 at 04:53:50PM +0000, KY Srinivasan wrote:
> This code is a user-level daemon that will be compiled outside of the
> kernel. I did not want to include Kernel header files for this one
> function and deal with all the dependencies that will have to be dealt
Ah, I missed the tools/ prefix in the patch, sorry.
Well, FWIW, we have hweight32 in <tools/perf/util/hweight.c> too and
there was a patchset preparing a generic kernel tools library where
tools can share functions but the author doesn't have time to dust the
patches off and get it upstream... :-).
I guess having a local function is the easiest for now.
More information about the devel