Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/include/linux Add GFP_ATOMIC, ...
details: https://anonhg.NetBSD.org/src/rev/f0c4f1bbe657
branches: riastradh-drm2
changeset: 788187:f0c4f1bbe657
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 02:37:13 2013 +0000
description:
Add GFP_ATOMIC, meaning M_NOWAIT, to <linux/slab.h>.
diffstat:
sys/external/bsd/drm2/include/linux/slab.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 4591e248bf0f -r f0c4f1bbe657 sys/external/bsd/drm2/include/linux/slab.h
--- a/sys/external/bsd/drm2/include/linux/slab.h Wed Jul 24 02:37:00 2013 +0000
+++ b/sys/external/bsd/drm2/include/linux/slab.h Wed Jul 24 02:37:13 2013 +0000
@@ -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)
Home |
Main Index |
Thread Index |
Old Index