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

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

 



On 12/08/2015 09:44 AM, Arend van Spriel wrote:
> On 11/07/2015 06:08 PM, Hauke Mehrtens wrote:
>> On 10/23/2015 01:52 PM, Johannes Berg wrote:
>>> From: Johannes Berg <johannes.berg@xxxxxxxxx>
>>>
>>> Since commit 84b00607aeb8 ("mac80211: use ktime_get_seconds")
>>> mac80211 uses ktime_get_seconds(). This patch provide a backport
>>> using ktime_get_ts() for it.
>>>
>>> [commit message and time64_t taken from Arend's patch]
>>>
>>> Signed-off-by: Arend van Spriel <arend@xxxxxxxxxxxx>
>>> Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
>>> ---
>>>   backport/backport-include/linux/ktime.h       |  1 +
>>>   backport/backport-include/linux/timekeeping.h | 21
>>> +++++++++++++++++++++
>>>   backport/backport-include/linux/types.h       | 10 ++++++++++
>>>   3 files changed, 32 insertions(+)
>>>   create mode 100644 backport/backport-include/linux/timekeeping.h
>>>   create mode 100644 backport/backport-include/linux/types.h
>>>
>> Thank you for the patch, it was applied.
> 
> Hi Hauke, Johannes,
> 
> 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.
> 
> Regards,
> Arend

Hi,

I think in this patch adding this should fix your concrete problem:
#define ktime_get_seconds LINUX_BACKPORT(ktime_get_seconds)

But it would still be nice to know what functions are in the mainline
kernel so we can use them.

Hauke
--
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