[PATCH] x86: increase interrupt vector range
[linux-drm-fsl-dcu.git] / arch / i386 / kernel / irq.c
index 061533e0cb5e8efa284258c3619665a287a786e5..586b15f6741f21642143d3ad63ed392db9e51135 100644 (file)
@@ -53,8 +53,8 @@ static union irq_ctx *softirq_ctx[NR_CPUS] __read_mostly;
  */
 fastcall unsigned int do_IRQ(struct pt_regs *regs)
 {      
-       /* high bits used in ret_from_ code */
-       int irq = regs->orig_eax & 0xff;
+       /* high bit used in ret_from_ code */
+       int irq = ~regs->orig_eax;
 #ifdef CONFIG_4KSTACKS
        union irq_ctx *curctx, *irqctx;
        u32 *isp;