Skip to content

Commit

Permalink
[PATCH] m68k: convert mac irq code
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Roman Zippel authored and Linus Torvalds committed Jun 25, 2006
1 parent 35353bb commit 9c5f4af
Show file tree
Hide file tree
Showing 12 changed files with 159 additions and 425 deletions.
2 changes: 1 addition & 1 deletion arch/m68k/mac/baboon.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ irqreturn_t baboon_irq(int irq, void *dev_id, struct pt_regs *regs)
for (i = 0, irq_bit = 1 ; i < 3 ; i++, irq_bit <<= 1) {
if (events & irq_bit/* & baboon_active*/) {
baboon_active &= ~irq_bit;
mac_do_irq_list(IRQ_BABOON_0 + i, regs);
m68k_handle_int(IRQ_BABOON_0 + i, regs);
baboon_active |= irq_bit;
baboon->mb_ifr &= ~irq_bit;
}
Expand Down
5 changes: 0 additions & 5 deletions arch/m68k/mac/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,7 @@ void __init config_mac(void)

mach_sched_init = mac_sched_init;
mach_init_IRQ = mac_init_IRQ;
mach_request_irq = mac_request_irq;
mach_free_irq = mac_free_irq;
enable_irq = mac_enable_irq;
disable_irq = mac_disable_irq;
mach_get_model = mac_get_model;
mach_get_irq_list = show_mac_interrupts;
mach_gettimeoffset = mac_gettimeoffset;
#warning move to adb/via init
#if 0
Expand Down
2 changes: 1 addition & 1 deletion arch/m68k/mac/iop.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ void __init iop_register_interrupts(void)
{
if (iop_ism_present) {
if (oss_present) {
cpu_request_irq(OSS_IRQLEV_IOPISM, iop_ism_irq,
request_irq(OSS_IRQLEV_IOPISM, iop_ism_irq,
IRQ_FLG_LOCK, "ISM IOP",
(void *) IOP_NUM_ISM);
oss_irq_enable(IRQ_MAC_ADB);
Expand Down
Loading

0 comments on commit 9c5f4af

Please sign in to comment.