From mboxrd@z Thu Jan 1 00:00:00 1970 From: walter harms Subject: Re: [PATCH v2 08/17] baycom_epp: Replace rdtscl() with native_read_tsc() Date: Sat, 13 Jun 2015 12:45:04 +0200 Message-ID: <557C09B0.3020301@bfs.de> References: <1195ce0c7f34169ff3006341b77806184a46b9bf.1434152603.git.luto@kernel.org> Reply-To: wharms@bfs.de Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1195ce0c7f34169ff3006341b77806184a46b9bf.1434152603.git.luto@kernel.org> Sender: linux-hams-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Andy Lutomirski Cc: x86@kernel.org, Borislav Petkov , Peter Zijlstra , John Stultz , linux-kernel@vger.kernel.org, Len Brown , Huang Rui , Denys Vlasenko , Thomas Sailer , linux-hams@vger.kernel.org Hello, please add a line what is the difference between V1 and V2. re, wh Am 13.06.2015 01:44, schrieb Andy Lutomirski: > This is only used if BAYCOM_DEBUG is defined. > > Cc: Thomas Sailer > Cc: linux-hams@vger.kernel.org > Signed-off-by: Andy Lutomirski > --- > 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)