summaryrefslogtreecommitdiff
path: root/sys-kernel/compat-drivers-alx/files/3.8-grsec/03-read-only-memory.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/compat-drivers-alx/files/3.8-grsec/03-read-only-memory.patch')
-rw-r--r--sys-kernel/compat-drivers-alx/files/3.8-grsec/03-read-only-memory.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-kernel/compat-drivers-alx/files/3.8-grsec/03-read-only-memory.patch b/sys-kernel/compat-drivers-alx/files/3.8-grsec/03-read-only-memory.patch
new file mode 100644
index 00000000..41c87b9a
--- /dev/null
+++ b/sys-kernel/compat-drivers-alx/files/3.8-grsec/03-read-only-memory.patch
@@ -0,0 +1,11 @@
+--- ./include/drm/ttm/ttm_memory.h
++++ ./include/drm/ttm/ttm_memory.h
+@@ -48,7 +48,7 @@
+
+ struct ttm_mem_shrink {
+ int (*do_shrink) (struct ttm_mem_shrink *);
+-};
++} __no_const;
+
+ /**
+ * struct ttm_mem_global - Global memory accounting structure.