lkml.org 
[lkml]   [2003]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] Implement <asm/bug.h> for v850
Date
From
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/
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.021 / U:2.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site