pentoo-overlay/sys-kernel/compat-drivers/files/3.8-grsec/03-read-only-memory.patch

11 lines
251 B
Diff

--- ./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.