Skip to content

Commit

Permalink
m68k: merge the mmu and non-mmu versions of bugs.h
Browse files Browse the repository at this point in the history
Trivial merge of the mmu and non-mmu versions of bugs.h

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
  • Loading branch information
Greg Ungerer committed Mar 24, 2009
1 parent dbc367e commit 76adcb2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 33 deletions.
21 changes: 18 additions & 3 deletions arch/m68k/include/asm/bugs.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
#ifdef __uClinux__
#include "bugs_no.h"
/*
* include/asm-m68k/bugs.h
*
* Copyright (C) 1994 Linus Torvalds
*/

/*
* This is included by init/main.c to check for architecture-dependent bugs.
*
* Needs:
* void check_bugs(void);
*/

#ifdef CONFIG_MMU
extern void check_bugs(void); /* in arch/m68k/kernel/setup.c */
#else
#include "bugs_mm.h"
static void check_bugs(void)
{
}
#endif
14 changes: 0 additions & 14 deletions arch/m68k/include/asm/bugs_mm.h

This file was deleted.

16 changes: 0 additions & 16 deletions arch/m68k/include/asm/bugs_no.h

This file was deleted.

0 comments on commit 76adcb2

Please sign in to comment.