mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] sparc32 pt_regs fixes
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
7ff3e52cf2
commit
0d84438d98
13 changed files with 49 additions and 27 deletions
|
|
@ -262,7 +262,7 @@ static __inline__ void sun_fd_enable_dma(void)
|
|||
}
|
||||
|
||||
/* Our low-level entry point in arch/sparc/kernel/entry.S */
|
||||
irqreturn_t floppy_hardint(int irq, void *unused, struct pt_regs *regs);
|
||||
irqreturn_t floppy_hardint(int irq, void *unused);
|
||||
|
||||
static int sun_fd_request_irq(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -76,8 +76,8 @@ static inline void load_profile_irq(int cpu, int limit)
|
|||
BTFIXUP_CALL(load_profile_irq)(cpu, limit);
|
||||
}
|
||||
|
||||
extern void (*sparc_init_timers)(irqreturn_t (*lvl10_irq)(int, void *, struct pt_regs *));
|
||||
extern void claim_ticker14(irqreturn_t (*irq_handler)(int, void *, struct pt_regs *),
|
||||
extern void (*sparc_init_timers)(irqreturn_t (*lvl10_irq)(int, void *));
|
||||
extern void claim_ticker14(irqreturn_t (*irq_handler)(int, void *),
|
||||
int irq,
|
||||
unsigned int timeout);
|
||||
|
||||
|
|
@ -91,7 +91,7 @@ BTFIXUPDEF_CALL(void, set_irq_udt, int)
|
|||
#define set_irq_udt(cpu) BTFIXUP_CALL(set_irq_udt)(cpu)
|
||||
#endif
|
||||
|
||||
extern int request_fast_irq(unsigned int irq, irqreturn_t (*handler)(int, void *, struct pt_regs *), unsigned long flags, __const__ char *devname);
|
||||
extern int request_fast_irq(unsigned int irq, irqreturn_t (*handler)(int, void *), unsigned long flags, __const__ char *devname);
|
||||
|
||||
/* On the sun4m, just like the timers, we have both per-cpu and master
|
||||
* interrupt registers.
|
||||
|
|
|
|||
1
include/asm-sparc/irq_regs.h
Normal file
1
include/asm-sparc/irq_regs.h
Normal file
|
|
@ -0,0 +1 @@
|
|||
#include <asm-generic/irq_regs.h>
|
||||
Loading…
Reference in a new issue