diff options
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/arch-clps711x/time.h | 3 | ||||
-rw-r--r-- | include/asm-arm/arch-imx/imx-dma.h | 8 | ||||
-rw-r--r-- | include/asm-arm/arch-l7200/time.h | 3 | ||||
-rw-r--r-- | include/asm-arm/arch-pnx4008/dma.h | 2 | ||||
-rw-r--r-- | include/asm-arm/arch-pxa/dma.h | 2 | ||||
-rw-r--r-- | include/asm-arm/arch-pxa/mmc.h | 2 | ||||
-rw-r--r-- | include/asm-arm/hardware/sharpsl_pm.h | 6 | ||||
-rw-r--r-- | include/asm-arm/irq_regs.h | 1 | ||||
-rw-r--r-- | include/asm-arm/mach/irq.h | 9 | ||||
-rw-r--r-- | include/asm-arm/mach/time.h | 4 |
10 files changed, 21 insertions, 19 deletions
diff --git a/include/asm-arm/arch-clps711x/time.h b/include/asm-arm/arch-clps711x/time.h index 0e4a3901d3b3..5edaae1c61d3 100644 --- a/include/asm-arm/arch-clps711x/time.h +++ b/include/asm-arm/arch-clps711x/time.h | |||
@@ -26,8 +26,9 @@ extern void clps711x_setup_timer(void); | |||
26 | * IRQ handler for the timer | 26 | * IRQ handler for the timer |
27 | */ | 27 | */ |
28 | static irqreturn_t | 28 | static irqreturn_t |
29 | p720t_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) | 29 | p720t_timer_interrupt(int irq, void *dev_id) |
30 | { | 30 | { |
31 | struct pt_regs *regs = get_irq_regs(); | ||
31 | do_leds(); | 32 | do_leds(); |
32 | do_timer(1); | 33 | do_timer(1); |
33 | #ifndef CONFIG_SMP | 34 | #ifndef CONFIG_SMP |
diff --git a/include/asm-arm/arch-imx/imx-dma.h b/include/asm-arm/arch-imx/imx-dma.h index 599f03e5a9ef..5b1066da4e1f 100644 --- a/include/asm-arm/arch-imx/imx-dma.h +++ b/include/asm-arm/arch-imx/imx-dma.h | |||
@@ -45,8 +45,8 @@ | |||
45 | 45 | ||
46 | struct imx_dma_channel { | 46 | struct imx_dma_channel { |
47 | const char *name; | 47 | const char *name; |
48 | void (*irq_handler) (int, void *, struct pt_regs *); | 48 | void (*irq_handler) (int, void *); |
49 | void (*err_handler) (int, void *, struct pt_regs *, int errcode); | 49 | void (*err_handler) (int, void *, int errcode); |
50 | void *data; | 50 | void *data; |
51 | dmamode_t dma_mode; | 51 | dmamode_t dma_mode; |
52 | struct scatterlist *sg; | 52 | struct scatterlist *sg; |
@@ -77,8 +77,8 @@ imx_dma_setup_sg(imx_dmach_t dma_ch, | |||
77 | 77 | ||
78 | int | 78 | int |
79 | imx_dma_setup_handlers(imx_dmach_t dma_ch, | 79 | imx_dma_setup_handlers(imx_dmach_t dma_ch, |
80 | void (*irq_handler) (int, void *, struct pt_regs *), | 80 | void (*irq_handler) (int, void *), |
81 | void (*err_handler) (int, void *, struct pt_regs *, int), void *data); | 81 | void (*err_handler) (int, void *, int), void *data); |
82 | 82 | ||
83 | void imx_dma_enable(imx_dmach_t dma_ch); | 83 | void imx_dma_enable(imx_dmach_t dma_ch); |
84 | 84 | ||
diff --git a/include/asm-arm/arch-l7200/time.h b/include/asm-arm/arch-l7200/time.h index c69cb508735f..ea22f7fff9cd 100644 --- a/include/asm-arm/arch-l7200/time.h +++ b/include/asm-arm/arch-l7200/time.h | |||
@@ -43,8 +43,9 @@ | |||
43 | * Handler for RTC timer interrupt | 43 | * Handler for RTC timer interrupt |
44 | */ | 44 | */ |
45 | static irqreturn_t | 45 | static irqreturn_t |
46 | timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) | 46 | timer_interrupt(int irq, void *dev_id) |
47 | { | 47 | { |
48 | struct pt_regs *regs = get_irq_regs(); | ||
48 | do_timer(1); | 49 | do_timer(1); |
49 | #ifndef CONFIG_SMP | 50 | #ifndef CONFIG_SMP |
50 | update_process_times(user_mode(regs)); | 51 | update_process_times(user_mode(regs)); |
diff --git a/include/asm-arm/arch-pnx4008/dma.h b/include/asm-arm/arch-pnx4008/dma.h index 3aee1204795b..418f15283ff1 100644 --- a/include/asm-arm/arch-pnx4008/dma.h +++ b/include/asm-arm/arch-pnx4008/dma.h | |||
@@ -137,7 +137,7 @@ extern void pnx4008_free_ll_entry(struct pnx4008_dma_ll *, dma_addr_t); | |||
137 | extern void pnx4008_free_ll(u32 ll_dma, struct pnx4008_dma_ll *); | 137 | extern void pnx4008_free_ll(u32 ll_dma, struct pnx4008_dma_ll *); |
138 | 138 | ||
139 | extern int pnx4008_request_channel(char *, int, | 139 | extern int pnx4008_request_channel(char *, int, |
140 | void (*)(int, int, void *, struct pt_regs *), | 140 | void (*)(int, int, void *), |
141 | void *); | 141 | void *); |
142 | extern void pnx4008_free_channel(int); | 142 | extern void pnx4008_free_channel(int); |
143 | extern int pnx4008_config_dma(int, int, int); | 143 | extern int pnx4008_config_dma(int, int, int); |
diff --git a/include/asm-arm/arch-pxa/dma.h b/include/asm-arm/arch-pxa/dma.h index a008150abc59..bed042d71d68 100644 --- a/include/asm-arm/arch-pxa/dma.h +++ b/include/asm-arm/arch-pxa/dma.h | |||
@@ -56,7 +56,7 @@ for ( \ | |||
56 | 56 | ||
57 | int pxa_request_dma (char *name, | 57 | int pxa_request_dma (char *name, |
58 | pxa_dma_prio prio, | 58 | pxa_dma_prio prio, |
59 | void (*irq_handler)(int, void *, struct pt_regs *), | 59 | void (*irq_handler)(int, void *), |
60 | void *data); | 60 | void *data); |
61 | 61 | ||
62 | void pxa_free_dma (int dma_ch); | 62 | void pxa_free_dma (int dma_ch); |
diff --git a/include/asm-arm/arch-pxa/mmc.h b/include/asm-arm/arch-pxa/mmc.h index 88c17dd02ed2..b704c4f05f4e 100644 --- a/include/asm-arm/arch-pxa/mmc.h +++ b/include/asm-arm/arch-pxa/mmc.h | |||
@@ -10,7 +10,7 @@ struct mmc_host; | |||
10 | struct pxamci_platform_data { | 10 | struct pxamci_platform_data { |
11 | unsigned int ocr_mask; /* available voltages */ | 11 | unsigned int ocr_mask; /* available voltages */ |
12 | unsigned long detect_delay; /* delay in jiffies before detecting cards after interrupt */ | 12 | unsigned long detect_delay; /* delay in jiffies before detecting cards after interrupt */ |
13 | int (*init)(struct device *, irqreturn_t (*)(int, void *, struct pt_regs *), void *); | 13 | int (*init)(struct device *, irqreturn_t (*)(int, void *), void *); |
14 | int (*get_ro)(struct device *); | 14 | int (*get_ro)(struct device *); |
15 | void (*setpower)(struct device *, unsigned int); | 15 | void (*setpower)(struct device *, unsigned int); |
16 | void (*exit)(struct device *, void *); | 16 | void (*exit)(struct device *, void *); |
diff --git a/include/asm-arm/hardware/sharpsl_pm.h b/include/asm-arm/hardware/sharpsl_pm.h index a836e76a14f7..2d00db22b981 100644 --- a/include/asm-arm/hardware/sharpsl_pm.h +++ b/include/asm-arm/hardware/sharpsl_pm.h | |||
@@ -100,7 +100,7 @@ extern struct sharpsl_pm_status sharpsl_pm; | |||
100 | 100 | ||
101 | void sharpsl_battery_kick(void); | 101 | void sharpsl_battery_kick(void); |
102 | void sharpsl_pm_led(int val); | 102 | void sharpsl_pm_led(int val); |
103 | irqreturn_t sharpsl_ac_isr(int irq, void *dev_id, struct pt_regs *fp); | 103 | irqreturn_t sharpsl_ac_isr(int irq, void *dev_id); |
104 | irqreturn_t sharpsl_chrg_full_isr(int irq, void *dev_id, struct pt_regs *fp); | 104 | irqreturn_t sharpsl_chrg_full_isr(int irq, void *dev_id); |
105 | irqreturn_t sharpsl_fatal_isr(int irq, void *dev_id, struct pt_regs *fp); | 105 | irqreturn_t sharpsl_fatal_isr(int irq, void *dev_id); |
106 | 106 | ||
diff --git a/include/asm-arm/irq_regs.h b/include/asm-arm/irq_regs.h new file mode 100644 index 000000000000..3dd9c0b70270 --- /dev/null +++ b/include/asm-arm/irq_regs.h | |||
@@ -0,0 +1 @@ | |||
#include <asm-generic/irq_regs.h> | |||
diff --git a/include/asm-arm/mach/irq.h b/include/asm-arm/mach/irq.h index 131f33733d25..0e017ecf2096 100644 --- a/include/asm-arm/mach/irq.h +++ b/include/asm-arm/mach/irq.h | |||
@@ -30,10 +30,9 @@ extern int show_fiq_list(struct seq_file *, void *); | |||
30 | /* | 30 | /* |
31 | * Obsolete inline function for calling irq descriptor handlers. | 31 | * Obsolete inline function for calling irq descriptor handlers. |
32 | */ | 32 | */ |
33 | static inline void desc_handle_irq(unsigned int irq, struct irq_desc *desc, | 33 | static inline void desc_handle_irq(unsigned int irq, struct irq_desc *desc) |
34 | struct pt_regs *regs) | ||
35 | { | 34 | { |
36 | desc->handle_irq(irq, desc, regs); | 35 | desc->handle_irq(irq, desc); |
37 | } | 36 | } |
38 | 37 | ||
39 | void set_irq_flags(unsigned int irq, unsigned int flags); | 38 | void set_irq_flags(unsigned int irq, unsigned int flags); |
@@ -51,10 +50,10 @@ void set_irq_flags(unsigned int irq, unsigned int flags); | |||
51 | #define irqdesc irq_desc | 50 | #define irqdesc irq_desc |
52 | #define irqchip irq_chip | 51 | #define irqchip irq_chip |
53 | 52 | ||
54 | #define do_bad_IRQ(irq,desc,regs) \ | 53 | #define do_bad_IRQ(irq,desc) \ |
55 | do { \ | 54 | do { \ |
56 | spin_lock(&desc->lock); \ | 55 | spin_lock(&desc->lock); \ |
57 | handle_bad_irq(irq, desc, regs); \ | 56 | handle_bad_irq(irq, desc); \ |
58 | spin_unlock(&desc->lock); \ | 57 | spin_unlock(&desc->lock); \ |
59 | } while(0) | 58 | } while(0) |
60 | 59 | ||
diff --git a/include/asm-arm/mach/time.h b/include/asm-arm/mach/time.h index 1eb93f5c0d6c..5dc357013b79 100644 --- a/include/asm-arm/mach/time.h +++ b/include/asm-arm/mach/time.h | |||
@@ -57,7 +57,7 @@ struct dyn_tick_timer { | |||
57 | int (*enable)(void); /* Enables dynamic tick */ | 57 | int (*enable)(void); /* Enables dynamic tick */ |
58 | int (*disable)(void); /* Disables dynamic tick */ | 58 | int (*disable)(void); /* Disables dynamic tick */ |
59 | void (*reprogram)(unsigned long); /* Reprograms the timer */ | 59 | void (*reprogram)(unsigned long); /* Reprograms the timer */ |
60 | int (*handler)(int, void *, struct pt_regs *); | 60 | int (*handler)(int, void *); |
61 | }; | 61 | }; |
62 | 62 | ||
63 | void timer_dyn_reprogram(void); | 63 | void timer_dyn_reprogram(void); |
@@ -66,7 +66,7 @@ void timer_dyn_reprogram(void); | |||
66 | #endif | 66 | #endif |
67 | 67 | ||
68 | extern struct sys_timer *system_timer; | 68 | extern struct sys_timer *system_timer; |
69 | extern void timer_tick(struct pt_regs *); | 69 | extern void timer_tick(void); |
70 | 70 | ||
71 | /* | 71 | /* |
72 | * Kernel time keeping support. | 72 | * Kernel time keeping support. |