Messages in this thread | | | Date | Sat, 18 Jan 2014 23:24:53 +0100 | Subject | Re: [PATCH] Adding hyperv.h to uapi headers | From | Bjarke Istrup Pedersen <> |
| |
2014/1/18 Borislav Petkov <bp@alien8.de>: > On Sat, Jan 18, 2014 at 11:07:10PM +0100, Bjarke Istrup Pedersen wrote: >> 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 :-) > > The fix is to move the userspace stuff into the uapi header and include > that header in the kernel header. > > See include/linux/sched.h and many others for an example. > Okay, so let me see if I get this right.
I should take all the parts the is not guarded by __KERNEL__, and move them to a uapi header, and then include it at the top of the normal header. Correct understood? :)
/Bjarke > -- > Regards/Gruss, > Boris. > > Sent from a fat crate under my desk. Formatting is fine. > --
| |