summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiles Bader <miles@lsi.nec.co.jp>2003-02-18 05:39:44 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2003-02-18 05:39:44 -0800
commit1438f40a7fab91d3051439362a89c928427baa0d (patch)
treec4115214d3abe6e0522b040927a912d55467320e /include
parent97f1c050b02b2ab3c7dd555c4de43b4abe7244e0 (diff)
[PATCH] Implement <asm/bug.h> for v850
Diffstat (limited to 'include')
-rw-r--r--include/asm-v850/bug.h21
-rw-r--r--include/asm-v850/page.h8
2 files changed, 23 insertions, 6 deletions
diff --git a/include/asm-v850/bug.h b/include/asm-v850/bug.h
new file mode 100644
index 000000000000..4fc7ba89ef5a
--- /dev/null
+++ b/include/asm-v850/bug.h
@@ -0,0 +1,21 @@
+/*
+ * include/asm-v850/bug.h -- Bug reporting
+ *
+ * Copyright (C) 2003 NEC Electronics Corporation
+ * Copyright (C) 2003 Miles Bader <miles@gnu.org>
+ *
+ * This file is subject to the terms and conditions of the GNU General
+ * Public License. See the file COPYING in the main directory of this
+ * archive for more details.
+ *
+ * Written by Miles Bader <miles@gnu.org>
+ */
+
+#ifndef __V850_BUG_H__
+#define __V850_BUG_H__
+
+extern void __bug (void) __attribute__ ((noreturn));
+#define BUG() __bug()
+#define PAGE_BUG(page) __bug()
+
+#endif /* __V850_BUG_H__ */
diff --git a/include/asm-v850/page.h b/include/asm-v850/page.h
index 0f51702eed2a..aa267410f2f6 100644
--- a/include/asm-v850/page.h
+++ b/include/asm-v850/page.h
@@ -1,8 +1,8 @@
/*
* include/asm-v850/page.h -- VM ops
*
- * Copyright (C) 2001, 2002 NEC Corporation
- * Copyright (C) 2001, 2002 Miles Bader <miles@gnu.org>
+ * Copyright (C) 2001,02,03 NEC Electronics Corporation
+ * Copyright (C) 2001,02,03 Miles Bader <miles@gnu.org>
*
* This file is subject to the terms and conditions of the GNU General
* Public License. See the file COPYING in the main directory of this
@@ -94,10 +94,6 @@ typedef unsigned long pgprot_t;
#ifndef __ASSEMBLY__
-extern void __bug (void) __attribute__ ((noreturn));
-#define BUG() __bug()
-#define PAGE_BUG(page) __bug()
-
/* Pure 2^n version of get_order */
extern __inline__ int get_order (unsigned long size)
{