Re: [PATCH] Adding hyperv.h to uapi headers

From: Bjarke Istrup Pedersen
Date: Sat Jan 18 2014 - 17:07:20 EST


2014/1/18 Paul Bolle <pebolle@xxxxxxxxxx>
>
> Bjarke Istrup Pedersen schreef op za 18-01-2014 om 20:48 [+0000]:
> > This patch adds the hyperv.h header to the uapi folder, and adds it to the Kbuild file.
> > Doing this enables compiling userspace Hyper-V tools using the installed headers.
> >
> > Signed-off-by: Bjarke Istrup Pedersen <gurligebis@xxxxxxxxxx>
> > ---
> > include/uapi/linux/Kbuild | 1 +
> > include/uapi/linux/hyperv.h | 1469 +++++++++++++++++++++++++++++++++++++++++++
> > 2 files changed, 1470 insertions(+)
> > create mode 100644 include/uapi/linux/hyperv.h
>
> Now we have two identical files: include/linux/hyperv.h and
> include/uapi/linux/hyperv.h. That seems sub-optimal at best.
>
(Resending, since gmail seems to default to html mails...)

I agree, but it fixes the problem.

I have been thinking about other solutions, but so far, I haven't been
able to find one that solves it, so the tools build. (An option might
be to strip it from the __KERNEL__ part, to make it smaller, but I
don't know what difference that would make :-)

/Bjarke
>
> Paul Bolle
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/