Module Name: src
Committed By: riastradh
Date: Wed Jul 24 02:51:20 UTC 2013
Modified Files:
src/sys/external/bsd/drm2/include/asm [riastradh-drm2]: bug.h
Log Message:
Add BUG() to Linux <asm/bug.h>.
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/external/bsd/drm2/include/asm/bug.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/asm/bug.h
diff -u src/sys/external/bsd/drm2/include/asm/bug.h:1.1.2.2 src/sys/external/bsd/drm2/include/asm/bug.h:1.1.2.3
--- src/sys/external/bsd/drm2/include/asm/bug.h:1.1.2.2 Wed Jul 24 02:26:39 2013
+++ src/sys/external/bsd/drm2/include/asm/bug.h Wed Jul 24 02:51:20 2013
@@ -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? */