diff options
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/Kconfig.devices | 2 | ||||
-rw-r--r-- | arch/m68k/include/asm/dma-mapping.h | 13 | ||||
-rw-r--r-- | arch/m68k/include/asm/processor.h | 1 | ||||
-rw-r--r-- | arch/m68k/kernel/Makefile | 4 |
4 files changed, 11 insertions, 9 deletions
diff --git a/arch/m68k/Kconfig.devices b/arch/m68k/Kconfig.devices index c4cdfe444c64..4bc945dfe467 100644 --- a/arch/m68k/Kconfig.devices +++ b/arch/m68k/Kconfig.devices | |||
@@ -41,7 +41,7 @@ config NFBLOCK | |||
41 | 41 | ||
42 | config NFCON | 42 | config NFCON |
43 | tristate "NatFeat console driver" | 43 | tristate "NatFeat console driver" |
44 | depends on NATFEAT | 44 | depends on TTY && NATFEAT |
45 | help | 45 | help |
46 | Say Y to include support for the ARAnyM NatFeat console driver | 46 | Say Y to include support for the ARAnyM NatFeat console driver |
47 | which allows the console output to be redirected to the stderr | 47 | which allows the console output to be redirected to the stderr |
diff --git a/arch/m68k/include/asm/dma-mapping.h b/arch/m68k/include/asm/dma-mapping.h index 3e6b8445af6a..05aa53594d49 100644 --- a/arch/m68k/include/asm/dma-mapping.h +++ b/arch/m68k/include/asm/dma-mapping.h | |||
@@ -5,7 +5,6 @@ | |||
5 | 5 | ||
6 | struct scatterlist; | 6 | struct scatterlist; |
7 | 7 | ||
8 | #ifndef CONFIG_MMU_SUN3 | ||
9 | static inline int dma_supported(struct device *dev, u64 mask) | 8 | static inline int dma_supported(struct device *dev, u64 mask) |
10 | { | 9 | { |
11 | return 1; | 10 | return 1; |
@@ -111,8 +110,14 @@ static inline int dma_mapping_error(struct device *dev, dma_addr_t handle) | |||
111 | return 0; | 110 | return 0; |
112 | } | 111 | } |
113 | 112 | ||
114 | #else | 113 | /* drivers/base/dma-mapping.c */ |
115 | #include <asm-generic/dma-mapping-broken.h> | 114 | extern int dma_common_mmap(struct device *dev, struct vm_area_struct *vma, |
116 | #endif | 115 | void *cpu_addr, dma_addr_t dma_addr, size_t size); |
116 | extern int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt, | ||
117 | void *cpu_addr, dma_addr_t dma_addr, | ||
118 | size_t size); | ||
119 | |||
120 | #define dma_mmap_coherent(d, v, c, h, s) dma_common_mmap(d, v, c, h, s) | ||
121 | #define dma_get_sgtable(d, t, v, h, s) dma_common_get_sgtable(d, t, v, h, s) | ||
117 | 122 | ||
118 | #endif /* _M68K_DMA_MAPPING_H */ | 123 | #endif /* _M68K_DMA_MAPPING_H */ |
diff --git a/arch/m68k/include/asm/processor.h b/arch/m68k/include/asm/processor.h index ae700f49e51d..b0768a657920 100644 --- a/arch/m68k/include/asm/processor.h +++ b/arch/m68k/include/asm/processor.h | |||
@@ -130,7 +130,6 @@ extern int handle_kernel_fault(struct pt_regs *regs); | |||
130 | #define start_thread(_regs, _pc, _usp) \ | 130 | #define start_thread(_regs, _pc, _usp) \ |
131 | do { \ | 131 | do { \ |
132 | (_regs)->pc = (_pc); \ | 132 | (_regs)->pc = (_pc); \ |
133 | ((struct switch_stack *)(_regs))[-1].a6 = 0; \ | ||
134 | setframeformat(_regs); \ | 133 | setframeformat(_regs); \ |
135 | if (current->mm) \ | 134 | if (current->mm) \ |
136 | (_regs)->d5 = current->mm->start_data; \ | 135 | (_regs)->d5 = current->mm->start_data; \ |
diff --git a/arch/m68k/kernel/Makefile b/arch/m68k/kernel/Makefile index 068ad49210d6..655347d80780 100644 --- a/arch/m68k/kernel/Makefile +++ b/arch/m68k/kernel/Makefile | |||
@@ -20,7 +20,5 @@ obj-$(CONFIG_MMU_MOTOROLA) += ints.o vectors.o | |||
20 | obj-$(CONFIG_MMU_SUN3) += ints.o vectors.o | 20 | obj-$(CONFIG_MMU_SUN3) += ints.o vectors.o |
21 | obj-$(CONFIG_PCI) += pcibios.o | 21 | obj-$(CONFIG_PCI) += pcibios.o |
22 | 22 | ||
23 | ifndef CONFIG_MMU_SUN3 | 23 | obj-$(CONFIG_HAS_DMA) += dma.o |
24 | obj-y += dma.o | ||
25 | endif | ||
26 | 24 | ||