summaryrefslogtreecommitdiff
path: root/math/gotoblas/files/patch-dynamic.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/gotoblas/files/patch-dynamic.c')
-rw-r--r--math/gotoblas/files/patch-dynamic.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/math/gotoblas/files/patch-dynamic.c b/math/gotoblas/files/patch-dynamic.c
new file mode 100644
index 000000000000..84b4a44478a7
--- /dev/null
+++ b/math/gotoblas/files/patch-dynamic.c
@@ -0,0 +1,14 @@
+--- driver/others/dynamic.c~ 2010-01-21 01:28:45.000000000 +0900
++++ driver/others/dynamic.c 2010-02-16 13:43:09.000000000 +0900
+@@ -181,9 +181,9 @@
+ gotoblas = get_coretype();
+
+ #ifdef ARCH_X86
+- if (gotoblas == NULL) gotoblas = gotoblas_KATMAI;
++ if (gotoblas == NULL) gotoblas = &gotoblas_KATMAI;
+ #else
+- if (gotoblas == NULL) gotoblas = gotoblas_PRESCOTT;
++ if (gotoblas == NULL) gotoblas = &gotoblas_PRESCOTT;
+ #endif
+
+ if (gotoblas && gotoblas -> init) {