Skip to content

Commit

Permalink
sh64: Move consistent DMA routines to arch/sh64/mm/.
Browse files Browse the repository at this point in the history
The consistent DMA stuff was evolved from the old PCI DMA mapping
functions. As this has been overhauled, it's something that is
used by the generic DMA mapping code, and thus, has no intrinsic
PCI dependence.

Move the routines somewhere more sensible (same place as sh), and
fix up the build for CONFIG_PCI=n in the process.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Oct 1, 2007
1 parent 749c849 commit 049aa16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/sh64/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ obj-$(CONFIG_SH_DMA) += dma.o
obj-$(CONFIG_SH_FPU) += fpu.o
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
obj-$(CONFIG_KALLSYMS) += unwind.o
obj-$(CONFIG_PCI) += pci-dma.o pcibios.o
obj-$(CONFIG_PCI) += pcibios.o
obj-$(CONFIG_MODULES) += module.o

ifeq ($(CONFIG_PCI),y)
Expand Down
4 changes: 2 additions & 2 deletions arch/sh64/mm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
# unless it's something special (ie not a .c file).
#

obj-y := init.o fault.o ioremap.o extable.o cache.o tlbmiss.o tlb.o
obj-y := cache.o consistent.o extable.o fault.o init.o ioremap.o \
tlbmiss.o tlb.o

obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o

Expand Down Expand Up @@ -41,4 +42,3 @@ CFLAGS_tlbmiss.o += -ffixed-r7 \
-ffixed-r41 -ffixed-r42 -ffixed-r43 \
-ffixed-r60 -ffixed-r61 -ffixed-r62 \
-fomit-frame-pointer

File renamed without changes.

0 comments on commit 049aa16

Please sign in to comment.