diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-31 00:54:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-31 00:54:16 -0400 |
commit | 8e268f333012c62fc6a5a10e1e2a19c1c389853e (patch) | |
tree | caa132b137e1d65c7cf42a37ac23bfad41c3d6e1 /arch/sh64 | |
parent | cbdd3deb52ac9b013a63e4a60530717f75ce3177 (diff) | |
parent | 75c46162be3d0025d448e0b738d6f8b51ff8a6e5 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh64-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh64-2.6:
sh64: Kill off virt_to_bus()/bus_to_virt().
sh64: Fix irq_intc build failure.
sh64: Fix fs.h removal from mm.h regressions.
Diffstat (limited to 'arch/sh64')
-rw-r--r-- | arch/sh64/Kconfig | 3 | ||||
-rw-r--r-- | arch/sh64/kernel/init_task.c | 2 | ||||
-rw-r--r-- | arch/sh64/kernel/irq_intc.c | 1 | ||||
-rw-r--r-- | arch/sh64/kernel/pci-dma.c | 4 | ||||
-rw-r--r-- | arch/sh64/kernel/process.c | 1 | ||||
-rw-r--r-- | arch/sh64/kernel/sys_sh64.c | 1 | ||||
-rw-r--r-- | arch/sh64/lib/dbg.c | 1 |
7 files changed, 10 insertions, 3 deletions
diff --git a/arch/sh64/Kconfig b/arch/sh64/Kconfig index ff654204b7d4..5664631d8ae5 100644 --- a/arch/sh64/Kconfig +++ b/arch/sh64/Kconfig | |||
@@ -47,6 +47,9 @@ config ARCH_HAS_ILOG2_U64 | |||
47 | bool | 47 | bool |
48 | default n | 48 | default n |
49 | 49 | ||
50 | config ARCH_NO_VIRT_TO_BUS | ||
51 | def_bool y | ||
52 | |||
50 | source init/Kconfig | 53 | source init/Kconfig |
51 | 54 | ||
52 | menu "System type" | 55 | menu "System type" |
diff --git a/arch/sh64/kernel/init_task.c b/arch/sh64/kernel/init_task.c index de2d07db1f88..deee8bfd3270 100644 --- a/arch/sh64/kernel/init_task.c +++ b/arch/sh64/kernel/init_task.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/sched.h> | 14 | #include <linux/sched.h> |
15 | #include <linux/init_task.h> | 15 | #include <linux/init_task.h> |
16 | #include <linux/mqueue.h> | 16 | #include <linux/mqueue.h> |
17 | 17 | #include <linux/fs.h> | |
18 | #include <asm/uaccess.h> | 18 | #include <asm/uaccess.h> |
19 | #include <asm/pgtable.h> | 19 | #include <asm/pgtable.h> |
20 | 20 | ||
diff --git a/arch/sh64/kernel/irq_intc.c b/arch/sh64/kernel/irq_intc.c index 42c07d2e71d9..3b63a93198f2 100644 --- a/arch/sh64/kernel/irq_intc.c +++ b/arch/sh64/kernel/irq_intc.c | |||
@@ -16,6 +16,7 @@ | |||
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include <linux/init.h> | 18 | #include <linux/init.h> |
19 | #include <linux/interrupt.h> | ||
19 | #include <linux/irq.h> | 20 | #include <linux/irq.h> |
20 | #include <linux/kernel.h> | 21 | #include <linux/kernel.h> |
21 | #include <linux/stddef.h> | 22 | #include <linux/stddef.h> |
diff --git a/arch/sh64/kernel/pci-dma.c b/arch/sh64/kernel/pci-dma.c index a36c3d71a3fe..a9328f894755 100644 --- a/arch/sh64/kernel/pci-dma.c +++ b/arch/sh64/kernel/pci-dma.c | |||
@@ -30,7 +30,7 @@ void *consistent_alloc(struct pci_dev *hwdev, size_t size, | |||
30 | 30 | ||
31 | if (vp != NULL) { | 31 | if (vp != NULL) { |
32 | memset(vp, 0, size); | 32 | memset(vp, 0, size); |
33 | *dma_handle = virt_to_bus(ret); | 33 | *dma_handle = virt_to_phys(ret); |
34 | dma_cache_wback_inv((unsigned long)ret, size); | 34 | dma_cache_wback_inv((unsigned long)ret, size); |
35 | } | 35 | } |
36 | 36 | ||
@@ -42,7 +42,7 @@ void consistent_free(struct pci_dev *hwdev, size_t size, | |||
42 | { | 42 | { |
43 | void *alloc; | 43 | void *alloc; |
44 | 44 | ||
45 | alloc = bus_to_virt((unsigned long)dma_handle); | 45 | alloc = phys_to_virt((unsigned long)dma_handle); |
46 | free_pages((unsigned long)alloc, get_order(size)); | 46 | free_pages((unsigned long)alloc, get_order(size)); |
47 | 47 | ||
48 | iounmap(vaddr); | 48 | iounmap(vaddr); |
diff --git a/arch/sh64/kernel/process.c b/arch/sh64/kernel/process.c index 1b89c9dfb93d..ceb9458abda4 100644 --- a/arch/sh64/kernel/process.c +++ b/arch/sh64/kernel/process.c | |||
@@ -21,6 +21,7 @@ | |||
21 | * This file handles the architecture-dependent parts of process handling.. | 21 | * This file handles the architecture-dependent parts of process handling.. |
22 | */ | 22 | */ |
23 | #include <linux/mm.h> | 23 | #include <linux/mm.h> |
24 | #include <linux/fs.h> | ||
24 | #include <linux/ptrace.h> | 25 | #include <linux/ptrace.h> |
25 | #include <linux/reboot.h> | 26 | #include <linux/reboot.h> |
26 | #include <linux/init.h> | 27 | #include <linux/init.h> |
diff --git a/arch/sh64/kernel/sys_sh64.c b/arch/sh64/kernel/sys_sh64.c index 19126daf9f4c..b7f18e298a20 100644 --- a/arch/sh64/kernel/sys_sh64.c +++ b/arch/sh64/kernel/sys_sh64.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/rwsem.h> | 19 | #include <linux/rwsem.h> |
20 | #include <linux/sched.h> | 20 | #include <linux/sched.h> |
21 | #include <linux/mm.h> | 21 | #include <linux/mm.h> |
22 | #include <linux/fs.h> | ||
22 | #include <linux/smp.h> | 23 | #include <linux/smp.h> |
23 | #include <linux/sem.h> | 24 | #include <linux/sem.h> |
24 | #include <linux/msg.h> | 25 | #include <linux/msg.h> |
diff --git a/arch/sh64/lib/dbg.c b/arch/sh64/lib/dbg.c index 4310fc87444e..97816e0baf19 100644 --- a/arch/sh64/lib/dbg.c +++ b/arch/sh64/lib/dbg.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
13 | #include <linux/sched.h> | 13 | #include <linux/sched.h> |
14 | #include <linux/mm.h> | 14 | #include <linux/mm.h> |
15 | #include <linux/fs.h> | ||
15 | #include <asm/mmu_context.h> | 16 | #include <asm/mmu_context.h> |
16 | 17 | ||
17 | typedef u64 regType_t; | 18 | typedef u64 regType_t; |