/*  A. Mallick added siginfo for most cases (close to IA32)  D. Mosberger added ia32_intercept()  */
int ia32_intercept(struct pt_regs *regs, unsigned long isr)
/*  A. Mallick added siginfo for most cases (close to IA32)  D. Mosberger added ia32_intercept()  */
int ia32_intercept(struct pt_regs *regs, unsigned long isr)
{
	switch ((isr >> 16) & 0xff) {
	      case 0:
	      case 4:
	      case 1:
		return -1;
	      case 2:
		if (((isr >> 14) & 0x3) >= 2) {
			ia64_psr(regs)->id = 1;
			return 0;
		} else
			return -1;
	}
	return -1;
}