[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALCETrU0b3u5jiSQe-Z97cNXhRD4Dq2tNbBf=YG9Pdom+CU1PA@mail.gmail.com>
Date: Mon, 15 Jun 2015 16:15:45 -0700
From: Andy Lutomirski <luto@...capital.net>
To: wharms@....de
Cc: Andy Lutomirski <luto@...nel.org>, X86 ML <x86@...nel.org>,
Borislav Petkov <bp@...e.de>,
Peter Zijlstra <peterz@...radead.org>,
John Stultz <john.stultz@...aro.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Len Brown <lenb@...nel.org>, Huang Rui <ray.huang@....com>,
Denys Vlasenko <dvlasenk@...hat.com>,
Thomas Sailer <t.sailer@...mni.ethz.ch>,
linux-hams@...r.kernel.org
Subject: Re: [PATCH v2 08/17] baycom_epp: Replace rdtscl() with native_read_tsc()
On Sat, Jun 13, 2015 at 3:45 AM, walter harms <wharms@....de> wrote:
> Hello,
> please add a line what is the difference between V1 and V2.
>
There is none. v1 was screwed up elsewhere in the series.
This is part of a larger series to clean up the rdtsc inlines and
macros. I'm hoping for an ack so this can go in through -tip.
Thanks,
Andy
> re,
> wh
>
> Am 13.06.2015 01:44, schrieb Andy Lutomirski:
>> This is only used if BAYCOM_DEBUG is defined.
>>
>> Cc: Thomas Sailer <t.sailer@...mni.ethz.ch>
>> Cc: linux-hams@...r.kernel.org
>> Signed-off-by: Andy Lutomirski <luto@...nel.org>
>> ---
>> drivers/net/hamradio/baycom_epp.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/net/hamradio/baycom_epp.c b/drivers/net/hamradio/baycom_epp.c
>> index 83c7cce0d172..44e5c3b5e0af 100644
>> --- a/drivers/net/hamradio/baycom_epp.c
>> +++ b/drivers/net/hamradio/baycom_epp.c
>> @@ -638,7 +638,7 @@ static int receive(struct net_device *dev, int cnt)
>> #define GETTICK(x) \
>> ({ \
>> if (cpu_has_tsc) \
>> - rdtscl(x); \
>> + x = (unsigned int)native_read_tsc(); \
>> })
>> #else /* __i386__ */
>> #define GETTICK(x)
--
Andy Lutomirski
AMA Capital Management, LLC
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists