summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2015-11-26 12:24:32 -0800
committerMatt Turner <mattst88@gentoo.org>2015-11-26 12:24:32 -0800
commit6850980d23bbe114d1349eedfa571332b77599f0 (patch)
treeae0905f3046af2083a2f810af373068613763463 /net-wireless
parentdev-util/dialog: arm stable, bug #566098 (diff)
downloadgentoo-6850980d23bbe114d1349eedfa571332b77599f0.tar.gz
gentoo-6850980d23bbe114d1349eedfa571332b77599f0.tar.bz2
gentoo-6850980d23bbe114d1349eedfa571332b77599f0.zip
net-wireless/broadcom-sta: Fix patch.
Bug: https://bugs.gentoo.org/show_bug.cgi?id=566882
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-linux-4.3.patch11
-rw-r--r--net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r2-linux-4.3.patch12
2 files changed, 12 insertions, 11 deletions
diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-linux-4.3.patch b/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-linux-4.3.patch
deleted file mode 100644
index ae0dc561464d..000000000000
--- a/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-linux-4.3.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/shared/linux_osl.c 2015-09-19 00:47:15.000000000 +0200
-+++ b/src/shared/linux_osl.c 2015-11-09 17:02:22.000000000 +0100
-@@ -932,7 +932,7 @@
- uint cycles;
-
- #if defined(__i386__)
-- rdtscl(cycles);
-+ cycles = (u32)native_read_tsc();
- #else
- cycles = 0;
- #endif
diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r2-linux-4.3.patch b/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r2-linux-4.3.patch
new file mode 100644
index 000000000000..7869dbf6cda0
--- /dev/null
+++ b/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r2-linux-4.3.patch
@@ -0,0 +1,12 @@
+diff -ruN a/src/shared/linux_osl.c b/src/shared/linux_osl.c
+--- a/src/shared/linux_osl.c 2015-11-26 12:16:23.343091098 -0800
++++ b/src/shared/linux_osl.c 2015-11-26 12:17:08.657092739 -0800
+@@ -932,7 +932,7 @@
+ uint cycles;
+
+ #if defined(__i386__)
+- rdtscl(cycles);
++ cycles = (u32)native_read_tsc();
+ #else
+ cycles = 0;
+ #endif