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/asm Add BUG() to Linu...
details: https://anonhg.NetBSD.org/src/rev/08cd83137d58
branches: riastradh-drm2
changeset: 788236:08cd83137d58
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 02:51:20 2013 +0000
description:
Add BUG() to Linux <asm/bug.h>.
diffstat:
sys/external/bsd/drm2/include/asm/bug.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r afe899c16dd9 -r 08cd83137d58 sys/external/bsd/drm2/include/asm/bug.h
--- a/sys/external/bsd/drm2/include/asm/bug.h Wed Jul 24 02:51:06 2013 +0000
+++ b/sys/external/bsd/drm2/include/asm/bug.h Wed Jul 24 02:51:20 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bug.h,v 1.1.2.2 2013/07/24 02:26:39 riastradh Exp $ */
+/* $NetBSD: bug.h,v 1.1.2.3 2013/07/24 02:51:20 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -35,6 +35,7 @@
#include <sys/cdefs.h>
#include <sys/systm.h>
+#define BUG() panic("%s:%d: BUG!", __FILE__, __LINE__)
#define BUG_ON(CONDITION) KASSERT(!(CONDITION))
/* XXX Rate limit? */
Home |
Main Index |
Thread Index |
Old Index