On Tue, 2015-12-08 at 09:44 +0100, Arend van Spriel wrote:
> 
> I hit a duplicate export of this function against Fedora 22 kernel 
> (v4.0.4). So they apparently backported it in their kernel. So I 
> manually removed the function from backports tarball. Could this be 
> automated by looking at Module.symvers of the kernel we build
> against? I will explore that if you guys consider it useful.
> 

That's not a bad idea. We could have a script that creates some kind of
header file with #define HAVE_KTIME_GET_SECONDS and then we could use
that. We could even just do that for every single exported functions,
that will just be a few hundred lines but shouldn't matter much? :)

I once considered something similar but by actually test-compiling
something against the kernel - that worked (even for backported
inlines) but was awfully slow ...

johannes
--
To unsubscribe from this list: send the line "unsubscribe backports" in

Reply via email to