On Tue, 2015-12-08 at 10:28 +0100, Arend van Spriel wrote:
> 
> Basically the list would be the exported symbols from the backports 
> module, ie. compat.ko, right?
> 

Perhaps, I think it's slightly more complicated.

For one, we mostly prefix them with backport_, so just using as-is
won't work.

Secondly, we might sometimes intentionally do that, even though the
original function *does* exist, like with debugfs_create_bool() that
changed function signature.

I think it'd be safer to just do it one by one - but we might be able
to get rid of a lot of the RHEL/ubuntu/whatever ifdefs that way?

We might also be able to use them to ifdef some inlines that belong to
it? Overall it seems better to just do it by hand but as a better
mechanism than checking kernel versions?

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

Reply via email to