From: Hauke Mehrtens <hauke@hauke-m.de>
To: Arend van Spriel <arend@broadcom.com>,
Johannes Berg <johannes@sipsolutions.net>,
backports@vger.kernel.org
Cc: Johannes Berg <johannes.berg@intel.com>
Subject: Re: [PATCH v2] backports: add ktime_get_seconds()
Date: Wed, 9 Dec 2015 23:48:03 +0100 [thread overview]
Message-ID: <5668AFA3.3070102@hauke-m.de> (raw)
In-Reply-To: <56669864.3050404@broadcom.com>
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@intel.com>
>>>
>>> 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@broadcom.com>
>>> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
>>> ---
>>> 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
prev parent reply other threads:[~2015-12-09 22:48 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-23 11:52 [PATCH v2] backports: add ktime_get_seconds() Johannes Berg
2015-10-28 21:17 ` Arend van Spriel
2015-10-31 22:03 ` Arend van Spriel
2015-11-01 7:47 ` Johannes Berg
2015-11-07 17:08 ` Hauke Mehrtens
2015-12-08 8:44 ` Arend van Spriel
2015-12-08 9:04 ` Johannes Berg
2015-12-08 9:14 ` Johannes Berg
2015-12-08 9:28 ` Arend van Spriel
2015-12-08 9:38 ` Johannes Berg
2015-12-09 22:52 ` Hauke Mehrtens
2015-12-09 22:56 ` Johannes Berg
2015-12-09 22:48 ` Hauke Mehrtens [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5668AFA3.3070102@hauke-m.de \
--to=hauke@hauke-m.de \
--cc=arend@broadcom.com \
--cc=backports@vger.kernel.org \
--cc=johannes.berg@intel.com \
--cc=johannes@sipsolutions.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox