Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

m68k: merge the mmu and non-mmu versions of bugs.h

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>

+18 -33
+18 -3
arch/m68k/include/asm/bugs.h
··· 1 - #ifdef __uClinux__ 2 - #include "bugs_no.h" 1 + /* 2 + * include/asm-m68k/bugs.h 3 + * 4 + * Copyright (C) 1994 Linus Torvalds 5 + */ 6 + 7 + /* 8 + * This is included by init/main.c to check for architecture-dependent bugs. 9 + * 10 + * Needs: 11 + * void check_bugs(void); 12 + */ 13 + 14 + #ifdef CONFIG_MMU 15 + extern void check_bugs(void); /* in arch/m68k/kernel/setup.c */ 3 16 #else 4 - #include "bugs_mm.h" 17 + static void check_bugs(void) 18 + { 19 + } 5 20 #endif
-14
arch/m68k/include/asm/bugs_mm.h
··· 1 - /* 2 - * include/asm-m68k/bugs.h 3 - * 4 - * Copyright (C) 1994 Linus Torvalds 5 - */ 6 - 7 - /* 8 - * This is included by init/main.c to check for architecture-dependent bugs. 9 - * 10 - * Needs: 11 - * void check_bugs(void); 12 - */ 13 - 14 - extern void check_bugs(void); /* in arch/m68k/kernel/setup.c */
-16
arch/m68k/include/asm/bugs_no.h
··· 1 - /* 2 - * include/asm-m68k/bugs.h 3 - * 4 - * Copyright (C) 1994 Linus Torvalds 5 - */ 6 - 7 - /* 8 - * This is included by init/main.c to check for architecture-dependent bugs. 9 - * 10 - * Needs: 11 - * void check_bugs(void); 12 - */ 13 - 14 - static void check_bugs(void) 15 - { 16 - }