projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3796366
)
x86/asm/tsc, drivers/net/hamradio/baycom_epp: Replace rdtscl() with native_read_tsc()
author
Andy Lutomirski
<
[email protected]
>
Thu, 25 Jun 2015 16:44:02 +0000
(18:44 +0200)
committer
Ingo Molnar
<
[email protected]
>
Mon, 6 Jul 2015 13:23:27 +0000
(15:23 +0200)
This is only used if BAYCOM_DEBUG is defined.
Signed-off-by: Andy Lutomirski <
[email protected]
>
Signed-off-by: Borislav Petkov <
[email protected]
>
Acked-by: Thomas Sailer <
[email protected]
Acked-by: Walter Harms <
[email protected]
>
Cc: Andy Lutomirski <
[email protected]
>
Cc: Borislav Petkov <
[email protected]
>
Cc: Brian Gerst <
[email protected]
>
Cc: Denys Vlasenko <
[email protected]
>
Cc: H. Peter Anvin <
[email protected]
>
Cc: Huang Rui <
[email protected]
>
Cc: John Stultz <
[email protected]
>
Cc: Len Brown <
[email protected]
>
Cc: Linus Torvalds <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Ralf Baechle <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Cc: kvm ML <
[email protected]
>
Cc:
[email protected]
Link:
http://lkml.kernel.org/r/1195ce0c7f34169ff3006341b77806184a46b9bf.1434501121.git.luto@kernel.org
Signed-off-by: Ingo Molnar <
[email protected]
>
drivers/net/hamradio/baycom_epp.c
patch
|
blob
|
history
diff --git
a/drivers/net/hamradio/baycom_epp.c
b/drivers/net/hamradio/baycom_epp.c
index 83c7cce0d172b205f0b1d96405b6b66eea79ea55..44e5c3b5e0af698ffcdbda940fab03238fd94c19 100644
(file)
--- 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)