Module Name:    src
Committed By:   riastradh
Date:           Wed Jul 24 02:37:13 UTC 2013

Modified Files:
        src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: slab.h

Log Message:
Add GFP_ATOMIC, meaning M_NOWAIT, to <linux/slab.h>.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 \
    src/sys/external/bsd/drm2/include/linux/slab.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/drm2/include/linux/slab.h
diff -u src/sys/external/bsd/drm2/include/linux/slab.h:1.1.2.4 src/sys/external/bsd/drm2/include/linux/slab.h:1.1.2.5
--- src/sys/external/bsd/drm2/include/linux/slab.h:1.1.2.4	Wed Jul 24 02:24:44 2013
+++ src/sys/external/bsd/drm2/include/linux/slab.h	Wed Jul 24 02:37:13 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: slab.h,v 1.1.2.4 2013/07/24 02:24:44 riastradh Exp $	*/
+/*	$NetBSD: slab.h,v 1.1.2.5 2013/07/24 02:37:13 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -41,6 +41,7 @@
 /* XXX Should use kmem, but Linux kfree doesn't take the size.  */
 
 #define	GFP_KERNEL	M_WAITOK
+#define	GFP_ATOMIC	M_NOWAIT
 
 static inline void *
 kmalloc(size_t size, int flags)

Reply via email to