diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-03 12:44:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-03 12:44:58 -0400 |
commit | 5de1ccbe51e89c51a2fe5ab333b7c9c2e7294aff (patch) | |
tree | 588d68842d6a082828e3a17efa3de6177b712a97 /arch/m68knommu/kernel | |
parent | 223cdea4c4b5af5181b2da00ac85711d1e0c737c (diff) | |
parent | b4d63e8e745b0000ba22f44ff34cd51e8b4d0389 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu: (41 commits)
m68knommu: improve compile arch switch settings
m68knommu: fix 5407 ColdFire UART vector setup
m68knommu: fix 5307 ColdFire UART vector setup
m68knommu: fix 5249 ColdFire UART vector setup
m68knommu: fix 5249 ColdFire UART setup
m68knommu: fix end of uart table marker
m68knommu: switch to using generic_handle_irq()
m68k: merge the mmu and non-mmu versions of tlbflush.h
m68knommu: introduce basic clk infrastructure
m68k: merge the mmu and non-mmu versions of module.h
m68knommu: add missing interrupt line definition for UART 2
m68k: merge the mmu and non-mmu versions of mmu_context.h
m68k: merge the mmu and non-mmu versions of current.h
m68k: merge the mmu and non-mmu versions of div64.h
m68k: merge the mmu and non-mmu versions of bugs.h
m68k: merge the mmu and non-mmu versions of bug.h
m68k: use the mmu version of cache.h for m68knommu as well
m68k: use the mmu version of bootinfo.h for m68knommu as well
m68k: merge the mmu and non-mmu versions of fb.h
m68k: merge the mmu and non-mmu versions of segment.h
...
Diffstat (limited to 'arch/m68knommu/kernel')
-rw-r--r-- | arch/m68knommu/kernel/dma.c | 8 | ||||
-rw-r--r-- | arch/m68knommu/kernel/irq.c | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/arch/m68knommu/kernel/dma.c b/arch/m68knommu/kernel/dma.c index e10eafc52789..936125806638 100644 --- a/arch/m68knommu/kernel/dma.c +++ b/arch/m68knommu/kernel/dma.c | |||
@@ -9,10 +9,11 @@ | |||
9 | #include <linux/mm.h> | 9 | #include <linux/mm.h> |
10 | #include <linux/string.h> | 10 | #include <linux/string.h> |
11 | #include <linux/device.h> | 11 | #include <linux/device.h> |
12 | #include <linux/dma-mapping.h> | ||
12 | #include <asm/io.h> | 13 | #include <asm/io.h> |
13 | 14 | ||
14 | void *dma_alloc_coherent(struct device *dev, size_t size, | 15 | void *dma_alloc_coherent(struct device *dev, size_t size, |
15 | dma_addr_t *dma_handle, int gfp) | 16 | dma_addr_t *dma_handle, gfp_t gfp) |
16 | { | 17 | { |
17 | void *ret; | 18 | void *ret; |
18 | /* ignore region specifiers */ | 19 | /* ignore region specifiers */ |
@@ -34,3 +35,8 @@ void dma_free_coherent(struct device *dev, size_t size, | |||
34 | { | 35 | { |
35 | free_pages((unsigned long)vaddr, get_order(size)); | 36 | free_pages((unsigned long)vaddr, get_order(size)); |
36 | } | 37 | } |
38 | |||
39 | void dma_sync_single_for_cpu(struct device *dev, dma_addr_t handle, size_t size, enum dma_data_direction dir) | ||
40 | { | ||
41 | } | ||
42 | |||
diff --git a/arch/m68knommu/kernel/irq.c b/arch/m68knommu/kernel/irq.c index bba1bb48a21f..56e0f4c55a67 100644 --- a/arch/m68knommu/kernel/irq.c +++ b/arch/m68knommu/kernel/irq.c | |||
@@ -23,7 +23,7 @@ asmlinkage void do_IRQ(int irq, struct pt_regs *regs) | |||
23 | struct pt_regs *oldregs = set_irq_regs(regs); | 23 | struct pt_regs *oldregs = set_irq_regs(regs); |
24 | 24 | ||
25 | irq_enter(); | 25 | irq_enter(); |
26 | __do_IRQ(irq); | 26 | generic_handle_irq(irq); |
27 | irq_exit(); | 27 | irq_exit(); |
28 | 28 | ||
29 | set_irq_regs(oldregs); | 29 | set_irq_regs(oldregs); |