diff options
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/drivers/slip_kern.c | 1 | ||||
-rw-r--r-- | arch/um/drivers/slirp_kern.c | 1 | ||||
-rw-r--r-- | arch/um/include/asm/dma-mapping.h | 4 | ||||
-rw-r--r-- | arch/um/kernel/sysrq.c | 4 |
4 files changed, 4 insertions, 6 deletions
diff --git a/arch/um/drivers/slip_kern.c b/arch/um/drivers/slip_kern.c index 5ec17563142e..dd2aadc14af0 100644 --- a/arch/um/drivers/slip_kern.c +++ b/arch/um/drivers/slip_kern.c | |||
@@ -30,7 +30,6 @@ static void slip_init(struct net_device *dev, void *data) | |||
30 | 30 | ||
31 | slip_proto_init(&spri->slip); | 31 | slip_proto_init(&spri->slip); |
32 | 32 | ||
33 | dev->init = NULL; | ||
34 | dev->hard_header_len = 0; | 33 | dev->hard_header_len = 0; |
35 | dev->header_ops = NULL; | 34 | dev->header_ops = NULL; |
36 | dev->addr_len = 0; | 35 | dev->addr_len = 0; |
diff --git a/arch/um/drivers/slirp_kern.c b/arch/um/drivers/slirp_kern.c index f15a6e7654f3..e376284f0fb7 100644 --- a/arch/um/drivers/slirp_kern.c +++ b/arch/um/drivers/slirp_kern.c | |||
@@ -32,7 +32,6 @@ void slirp_init(struct net_device *dev, void *data) | |||
32 | 32 | ||
33 | slip_proto_init(&spri->slip); | 33 | slip_proto_init(&spri->slip); |
34 | 34 | ||
35 | dev->init = NULL; | ||
36 | dev->hard_header_len = 0; | 35 | dev->hard_header_len = 0; |
37 | dev->header_ops = NULL; | 36 | dev->header_ops = NULL; |
38 | dev->addr_len = 0; | 37 | dev->addr_len = 0; |
diff --git a/arch/um/include/asm/dma-mapping.h b/arch/um/include/asm/dma-mapping.h index 90fc708b320e..378de4bbf49f 100644 --- a/arch/um/include/asm/dma-mapping.h +++ b/arch/um/include/asm/dma-mapping.h | |||
@@ -79,14 +79,14 @@ dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries, | |||
79 | } | 79 | } |
80 | 80 | ||
81 | static inline void | 81 | static inline void |
82 | dma_sync_single(struct device *dev, dma_addr_t dma_handle, size_t size, | 82 | dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, |
83 | enum dma_data_direction direction) | 83 | enum dma_data_direction direction) |
84 | { | 84 | { |
85 | BUG(); | 85 | BUG(); |
86 | } | 86 | } |
87 | 87 | ||
88 | static inline void | 88 | static inline void |
89 | dma_sync_sg(struct device *dev, struct scatterlist *sg, int nelems, | 89 | dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, |
90 | enum dma_data_direction direction) | 90 | enum dma_data_direction direction) |
91 | { | 91 | { |
92 | BUG(); | 92 | BUG(); |
diff --git a/arch/um/kernel/sysrq.c b/arch/um/kernel/sysrq.c index 56d43d0a3960..0960de54495a 100644 --- a/arch/um/kernel/sysrq.c +++ b/arch/um/kernel/sysrq.c | |||
@@ -70,8 +70,8 @@ void show_stack(struct task_struct *task, unsigned long *esp) | |||
70 | if (kstack_end(stack)) | 70 | if (kstack_end(stack)) |
71 | break; | 71 | break; |
72 | if (i && ((i % 8) == 0)) | 72 | if (i && ((i % 8) == 0)) |
73 | printk("\n" KERN_INFO " "); | 73 | printk(KERN_INFO " "); |
74 | printk("%08lx ", *stack++); | 74 | printk(KERN_CONT "%08lx ", *stack++); |
75 | } | 75 | } |
76 | 76 | ||
77 | show_trace(task, esp); | 77 | show_trace(task, esp); |