diff options
Diffstat (limited to 'arch/ia64/hp/sim/simserial.c')
-rw-r--r-- | arch/ia64/hp/sim/simserial.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/ia64/hp/sim/simserial.c b/arch/ia64/hp/sim/simserial.c index 974cac88f7e7..797e89a6c4eb 100644 --- a/arch/ia64/hp/sim/simserial.c +++ b/arch/ia64/hp/sim/simserial.c | |||
@@ -947,11 +947,10 @@ simrs_init (void) | |||
947 | if (state->type == PORT_UNKNOWN) continue; | 947 | if (state->type == PORT_UNKNOWN) continue; |
948 | 948 | ||
949 | if (!state->irq) { | 949 | if (!state->irq) { |
950 | if ((rc = assign_irq_vector(AUTO_ASSIGN)) < 0) | 950 | if ((rc = hpsim_get_irq(KEYBOARD_INTR)) < 0) |
951 | panic("%s: out of interrupt vectors!\n", | 951 | panic("%s: out of interrupt vectors!\n", |
952 | __func__); | 952 | __func__); |
953 | state->irq = rc; | 953 | state->irq = rc; |
954 | ia64_ssc_connect_irq(KEYBOARD_INTR, state->irq); | ||
955 | } | 954 | } |
956 | 955 | ||
957 | printk(KERN_INFO "ttyS%d at 0x%04lx (irq = %d) is a %s\n", | 956 | printk(KERN_INFO "ttyS%d at 0x%04lx (irq = %d) is a %s\n", |