summaryrefslogtreecommitdiff
path: root/sys-kernel/compat-drivers/files/3.8-grsec/03-read-only-memory.patch
blob: 41c87b9a4b85992b36c4821e3f530e808bd1eae9 (plain)
1
2
3
4
5
6
7
8
9
10
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.