Re: [PATCH v2] backports: add ktime_get_seconds()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux