diff options
| -rw-r--r-- | MAINTAINERS | 2 | ||||
| -rw-r--r-- | arch/sparc64/kernel/irq.c | 7 | ||||
| -rw-r--r-- | drivers/media/dvb/frontends/tda80xx.c | 1 | ||||
| -rw-r--r-- | include/asm-sparc64/parport.h | 4 |
4 files changed, 8 insertions, 6 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 19a9a1c53037..302b31960008 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
| @@ -2161,7 +2161,7 @@ UltraSPARC (sparc64): | |||
| 2161 | P: David S. Miller | 2161 | P: David S. Miller |
| 2162 | M: davem@davemloft.net | 2162 | M: davem@davemloft.net |
| 2163 | P: Eddie C. Dost | 2163 | P: Eddie C. Dost |
| 2164 | M: ecd@skynet.be | 2164 | M: ecd@brainaid.de |
| 2165 | P: Jakub Jelinek | 2165 | P: Jakub Jelinek |
| 2166 | M: jj@sunsite.ms.mff.cuni.cz | 2166 | M: jj@sunsite.ms.mff.cuni.cz |
| 2167 | P: Anton Blanchard | 2167 | P: Anton Blanchard |
diff --git a/arch/sparc64/kernel/irq.c b/arch/sparc64/kernel/irq.c index 74a2e0808cbc..daa2fb93052c 100644 --- a/arch/sparc64/kernel/irq.c +++ b/arch/sparc64/kernel/irq.c | |||
| @@ -917,7 +917,8 @@ static int irq_affinity_read_proc (char *page, char **start, off_t off, | |||
| 917 | int count, int *eof, void *data) | 917 | int count, int *eof, void *data) |
| 918 | { | 918 | { |
| 919 | struct ino_bucket *bp = ivector_table + (long)data; | 919 | struct ino_bucket *bp = ivector_table + (long)data; |
| 920 | struct irqaction *ap = bp->irq_info; | 920 | struct irq_desc *desc = bp->irq_info; |
| 921 | struct irqaction *ap = desc->action; | ||
| 921 | cpumask_t mask; | 922 | cpumask_t mask; |
| 922 | int len; | 923 | int len; |
| 923 | 924 | ||
| @@ -935,11 +936,13 @@ static int irq_affinity_read_proc (char *page, char **start, off_t off, | |||
| 935 | static inline void set_intr_affinity(int irq, cpumask_t hw_aff) | 936 | static inline void set_intr_affinity(int irq, cpumask_t hw_aff) |
| 936 | { | 937 | { |
| 937 | struct ino_bucket *bp = ivector_table + irq; | 938 | struct ino_bucket *bp = ivector_table + irq; |
| 939 | struct irq_desc *desc = bp->irq_info; | ||
| 940 | struct irqaction *ap = desc->action; | ||
| 938 | 941 | ||
| 939 | /* Users specify affinity in terms of hw cpu ids. | 942 | /* Users specify affinity in terms of hw cpu ids. |
| 940 | * As soon as we do this, handler_irq() might see and take action. | 943 | * As soon as we do this, handler_irq() might see and take action. |
| 941 | */ | 944 | */ |
| 942 | put_smpaff_in_irqaction((struct irqaction *)bp->irq_info, hw_aff); | 945 | put_smpaff_in_irqaction(ap, hw_aff); |
| 943 | 946 | ||
| 944 | /* Migration is simply done by the next cpu to service this | 947 | /* Migration is simply done by the next cpu to service this |
| 945 | * interrupt. | 948 | * interrupt. |
diff --git a/drivers/media/dvb/frontends/tda80xx.c b/drivers/media/dvb/frontends/tda80xx.c index 032d348dafb7..88e125079ca1 100644 --- a/drivers/media/dvb/frontends/tda80xx.c +++ b/drivers/media/dvb/frontends/tda80xx.c | |||
| @@ -27,7 +27,6 @@ | |||
| 27 | #include <linux/spinlock.h> | 27 | #include <linux/spinlock.h> |
| 28 | #include <linux/threads.h> | 28 | #include <linux/threads.h> |
| 29 | #include <linux/interrupt.h> | 29 | #include <linux/interrupt.h> |
| 30 | #include <linux/irq.h> | ||
| 31 | #include <linux/kernel.h> | 30 | #include <linux/kernel.h> |
| 32 | #include <linux/module.h> | 31 | #include <linux/module.h> |
| 33 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
diff --git a/include/asm-sparc64/parport.h b/include/asm-sparc64/parport.h index b7e635544cec..56b5197d7898 100644 --- a/include/asm-sparc64/parport.h +++ b/include/asm-sparc64/parport.h | |||
| @@ -27,12 +27,12 @@ static struct sparc_ebus_info { | |||
| 27 | 27 | ||
| 28 | static __inline__ void enable_dma(unsigned int dmanr) | 28 | static __inline__ void enable_dma(unsigned int dmanr) |
| 29 | { | 29 | { |
| 30 | ebus_dma_enable(&sparc_ebus_dmas[dmanr].info, 1); | ||
| 31 | |||
| 30 | if (ebus_dma_request(&sparc_ebus_dmas[dmanr].info, | 32 | if (ebus_dma_request(&sparc_ebus_dmas[dmanr].info, |
| 31 | sparc_ebus_dmas[dmanr].addr, | 33 | sparc_ebus_dmas[dmanr].addr, |
| 32 | sparc_ebus_dmas[dmanr].count)) | 34 | sparc_ebus_dmas[dmanr].count)) |
| 33 | BUG(); | 35 | BUG(); |
| 34 | |||
| 35 | ebus_dma_enable(&sparc_ebus_dmas[dmanr].info, 1); | ||
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | static __inline__ void disable_dma(unsigned int dmanr) | 38 | static __inline__ void disable_dma(unsigned int dmanr) |
