diff packages/compat/linux/current/include/asm/bug.h @ 522:726ecf119e30

Add new Linux kernel compatibility package. Not a compatibility layer for Linux applications, but Linux drivers and filesystems. Intended for an updated JFFS2.
author jlarmour
date Wed, 22 Jan 2003 01:10:41 +0000
parents
children
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/packages/compat/linux/current/include/asm/bug.h
@@ -0,0 +1,6 @@
+#ifndef __ASM_BUG_H__
+#define __ASM_BUG_H__
+
+#define BUG() do { diag_printf("BUG() at %s %d\n", __FILE__, __LINE__); *(int *)0=0; } while (0)
+
+#endif /* __ASM_BUG_H__ */