Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757172AbbFQBFI (ORCPT ); Tue, 16 Jun 2015 21:05:08 -0400 Received: from fep32.mx.upcmail.net ([62.179.121.50]:65208 "EHLO fep32.mx.upcmail.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750915AbbFQBE7 (ORCPT ); Tue, 16 Jun 2015 21:04:59 -0400 X-Greylist: delayed 920 seconds by postgrey-1.27 at vger.kernel.org; Tue, 16 Jun 2015 21:04:57 EDT X-SourceIP: 84.73.36.41 X-Authenticated-Sender: tsailer@hispeed.ch Message-ID: <5580C419.8090402@alumni.ethz.ch> Date: Wed, 17 Jun 2015 02:49:29 +0200 From: Thomas Sailer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Andy Lutomirski , x86@kernel.org CC: Borislav Petkov , Peter Zijlstra , John Stultz , linux-kernel@vger.kernel.org, Len Brown , Huang Rui , Denys Vlasenko , kvm@vger.kernel.org, Ralf Baechle , walter harms , linux-hams@vger.kernel.org Subject: Re: [PATCH v3 08/18] baycom_epp: Replace rdtscl() with native_read_tsc() References: <1195ce0c7f34169ff3006341b77806184a46b9bf.1434501121.git.luto@kernel.org> In-Reply-To: <1195ce0c7f34169ff3006341b77806184a46b9bf.1434501121.git.luto@kernel.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1413 Lines: 36 Acked-by: Thomas Sailer On 06/17/2015 02:35 AM, Andy Lutomirski wrote: > This is only used if BAYCOM_DEBUG is defined. > > Cc: walter harms > Cc: Ralf Baechle > Cc: Thomas Sailer > Cc: linux-hams@vger.kernel.org > Signed-off-by: Andy Lutomirski > --- > > I'm hoping for an ack for this to go through -tip. > > 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) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/