Skip to content

Commit

Permalink
m68k: use mmu kmap_types.h for non-mmu setups as well
Browse files Browse the repository at this point in the history
The mmu version of kmap_types.h is identical to the non-mmu one.
Revert to a single file.

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 bf08d52 commit 7487099
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 47 deletions.
26 changes: 21 additions & 5 deletions arch/m68k/include/asm/kmap_types.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
#ifdef __uClinux__
#include "kmap_types_no.h"
#else
#include "kmap_types_mm.h"
#endif
#ifndef __ASM_M68K_KMAP_TYPES_H
#define __ASM_M68K_KMAP_TYPES_H

enum km_type {
KM_BOUNCE_READ,
KM_SKB_SUNRPC_DATA,
KM_SKB_DATA_SOFTIRQ,
KM_USER0,
KM_USER1,
KM_BIO_SRC_IRQ,
KM_BIO_DST_IRQ,
KM_PTE0,
KM_PTE1,
KM_IRQ0,
KM_IRQ1,
KM_SOFTIRQ0,
KM_SOFTIRQ1,
KM_TYPE_NR
};

#endif /* __ASM_M68K_KMAP_TYPES_H */
21 changes: 0 additions & 21 deletions arch/m68k/include/asm/kmap_types_mm.h

This file was deleted.

21 changes: 0 additions & 21 deletions arch/m68k/include/asm/kmap_types_no.h

This file was deleted.

0 comments on commit 7487099

Please sign in to comment.