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 mmu.h

Trivial merge of the contents of mmu and non-mmu versions of mmu.h

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>

+11 -20
+11 -3
arch/m68k/include/asm/mmu.h
··· 1 - #ifdef __uClinux__ 2 - #include "mmu_no.h" 1 + #ifndef __MMU_H 2 + #define __MMU_H 3 + 4 + #ifdef CONFIG_MMU 5 + /* Default "unsigned long" context */ 6 + typedef unsigned long mm_context_t; 3 7 #else 4 - #include "mmu_mm.h" 8 + typedef struct { 9 + unsigned long end_brk; 10 + } mm_context_t; 11 + #endif 12 + 5 13 #endif
-7
arch/m68k/include/asm/mmu_mm.h
··· 1 - #ifndef __MMU_H 2 - #define __MMU_H 3 - 4 - /* Default "unsigned long" context */ 5 - typedef unsigned long mm_context_t; 6 - 7 - #endif
-10
arch/m68k/include/asm/mmu_no.h
··· 1 - #ifndef __M68KNOMMU_MMU_H 2 - #define __M68KNOMMU_MMU_H 3 - 4 - /* Copyright (C) 2002, David McCullough <davidm@snapgear.com> */ 5 - 6 - typedef struct { 7 - unsigned long end_brk; 8 - } mm_context_t; 9 - 10 - #endif /* __M68KNOMMU_MMU_H */