[PATCH] Implement <asm/bug.h> for v850

From: Miles Bader (miles@lsi.nec.co.jp)
Date: Tue Feb 18 2003 - 01:15:08 EST


diff -ruN -X../cludes linux-2.5.62-uc0.orig/include/asm-v850/bug.h linux-2.5.62-uc0/include/asm-v850/bug.h
--- linux-2.5.62-uc0.orig/include/asm-v850/bug.h 1970-01-01 09:00:00.000000000 +0900
+++ linux-2.5.62-uc0/include/asm-v850/bug.h 2003-02-18 11:41:09.000000000 +0900
@@ -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 -ruN -X../cludes linux-2.5.62-uc0.orig/include/asm-v850/page.h linux-2.5.62-uc0/include/asm-v850/page.h
--- linux-2.5.62-uc0.orig/include/asm-v850/page.h 2002-11-05 11:25:32.000000000 +0900
+++ linux-2.5.62-uc0/include/asm-v850/page.h 2003-02-18 11:41:09.000000000 +0900
@@ -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 @@
 
 #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)
 {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:21 EST