summaryrefslogtreecommitdiff
path: root/x11-drivers/ati-userspace/files/ati-drivers-vm-reserverd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/ati-userspace/files/ati-drivers-vm-reserverd.patch')
-rw-r--r--x11-drivers/ati-userspace/files/ati-drivers-vm-reserverd.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-drivers/ati-userspace/files/ati-drivers-vm-reserverd.patch b/x11-drivers/ati-userspace/files/ati-drivers-vm-reserverd.patch
new file mode 100644
index 00000000..08045a65
--- /dev/null
+++ b/x11-drivers/ati-userspace/files/ati-drivers-vm-reserverd.patch
@@ -0,0 +1,12 @@
+--- common/lib/modules/fglrx/build_mod/firegl_public.c 2012-10-18 00:29:21.778369464 +0200
++++ common/lib/modules/fglrx/build_mod/firegl_public.c.new 2012-10-18 00:30:39.647416026 +0200
+@@ -222,6 +222,10 @@
+ #define preempt_enable()
+ #endif
+
++#ifndef VM_RESERVED
++#define VM_RESERVED (VM_DONTEXPAND | VM_DONTDUMP)
++#endif
++
+ // ============================================================
+ /* globals */