Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39154
b: refs/heads/master
c: 58ba81d
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Oct 9, 2006
1 parent 257defe commit 81ef6a9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1622605cf6e15bfdc55a3dc78b792018edded435
refs/heads/master: 58ba81dba77eab43633ea47d82e96245ae3ff666
3 changes: 2 additions & 1 deletion trunk/arch/m68k/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ else
endif
extra-y += vmlinux.lds

obj-y := entry.o process.o traps.o ints.o dma.o signal.o ptrace.o \
obj-y := entry.o process.o traps.o ints.o signal.o ptrace.o \
sys_m68k.o time.o semaphore.o setup.o m68k_ksyms.o

obj-$(CONFIG_PCI) += bios32.o
obj-$(CONFIG_MODULES) += module.o
obj-y$(CONFIG_MMU_SUN3) += dma.o # no, it's not a typo

EXTRA_AFLAGS := -traditional
5 changes: 5 additions & 0 deletions trunk/include/asm-m68k/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

struct scatterlist;

#ifndef CONFIG_MMU_SUN3
static inline int dma_supported(struct device *dev, u64 mask)
{
return 1;
Expand Down Expand Up @@ -88,4 +89,8 @@ static inline int dma_mapping_error(dma_addr_t handle)
return 0;
}

#else
#include <asm-generic/dma-mapping-broken.h>
#endif

#endif /* _M68K_DMA_MAPPING_H */

0 comments on commit 81ef6a9

Please sign in to comment.