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 Define uninitia...
details: https://anonhg.NetBSD.org/src/rev/cddf20b27b71
branches: riastradh-drm2
changeset: 788254:cddf20b27b71
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 02:56:17 2013 +0000
description:
Define uninitialized_var in <linux/kernel.h>.
diffstat:
sys/external/bsd/drm2/include/linux/kernel.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r e57be031c2e6 -r cddf20b27b71 sys/external/bsd/drm2/include/linux/kernel.h
--- a/sys/external/bsd/drm2/include/linux/kernel.h Wed Jul 24 02:56:03 2013 +0000
+++ b/sys/external/bsd/drm2/include/linux/kernel.h Wed Jul 24 02:56:17 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kernel.h,v 1.1.2.14 2013/07/24 02:54:23 riastradh Exp $ */
+/* $NetBSD: kernel.h,v 1.1.2.15 2013/07/24 02:56:17 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -42,6 +42,8 @@
#define barrier() __insn_barrier()
#define unlikely(X) __predict_false(X)
+#define uninitialized_var(x) x
+
#define container_of(PTR, TYPE, FIELD) \
((void)sizeof((PTR) - \
&((TYPE *)(((char *)(PTR)) - \
Home |
Main Index |
Thread Index |
Old Index