Commit 1438f40a authored by Miles Bader's avatar Miles Bader Committed by Linus Torvalds

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

parent 97f1c050
/*
* 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__ */
/* /*
* include/asm-v850/page.h -- VM ops * include/asm-v850/page.h -- VM ops
* *
* Copyright (C) 2001, 2002 NEC Corporation * Copyright (C) 2001,02,03 NEC Electronics Corporation
* Copyright (C) 2001, 2002 Miles Bader <miles@gnu.org> * Copyright (C) 2001,02,03 Miles Bader <miles@gnu.org>
* *
* This file is subject to the terms and conditions of the GNU General * 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 * Public License. See the file COPYING in the main directory of this
...@@ -94,10 +94,6 @@ typedef unsigned long pgprot_t; ...@@ -94,10 +94,6 @@ typedef unsigned long pgprot_t;
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
extern void __bug (void) __attribute__ ((noreturn));
#define BUG() __bug()
#define PAGE_BUG(page) __bug()
/* Pure 2^n version of get_order */ /* Pure 2^n version of get_order */
extern __inline__ int get_order (unsigned long size) extern __inline__ int get_order (unsigned long size)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment