diff options
author | Andreas Voegele <andreas@andreasvoegele.com> | 2015-12-03 23:50:34 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-12-03 23:50:34 +0700 |
commit | c02813a519b5c77a1fd93cd1390d2d1badf77f68 (patch) | |
tree | d586af7a78f9310867c6f831e55d06f590312742 /network/broadcom-sta/002-rdtscl.patch | |
parent | 17414bdd44f0c2affae2fe440e3f90da2bae59d2 (diff) |
network/broadcom-sta: Updated for version 6.30.223.271.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/broadcom-sta/002-rdtscl.patch')
-rw-r--r-- | network/broadcom-sta/002-rdtscl.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/network/broadcom-sta/002-rdtscl.patch b/network/broadcom-sta/002-rdtscl.patch new file mode 100644 index 0000000000000..cfa16075409b7 --- /dev/null +++ b/network/broadcom-sta/002-rdtscl.patch @@ -0,0 +1,18 @@ +https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=fe47ae6e1a5005b2e82f7eab57b5c3820453293a +https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=4ea1636b04dbd66536fa387bae2eea463efc705b + +diff -ru a/src/shared/linux_osl.c b/src/shared/linux_osl.c +--- a/src/shared/linux_osl.c 2015-09-19 01:47:15.000000000 +0300 ++++ b/src/shared/linux_osl.c 2015-11-21 15:20:30.585902518 +0200 +@@ -932,7 +932,11 @@ + uint cycles; + + #if defined(__i386__) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 3, 0) ++ cycles = (u32)rdtsc(); ++#else + rdtscl(cycles); ++#endif + #else + cycles = 0; + #endif |