Commit 33169a92 authored by Junichi Nomura's avatar Junichi Nomura Committed by David Mosberger

[PATCH] Fix IA-32 Intercept code.

(ia32_intercept): The code for Locked data reference fault is 4, not 3.
parent a5f9b62e
...@@ -20,7 +20,7 @@ ia32_intercept (struct pt_regs *regs, unsigned long isr) ...@@ -20,7 +20,7 @@ ia32_intercept (struct pt_regs *regs, unsigned long isr)
{ {
switch ((isr >> 16) & 0xff) { switch ((isr >> 16) & 0xff) {
case 0: /* Instruction intercept fault */ case 0: /* Instruction intercept fault */
case 3: /* Locked Data reference fault */ case 4: /* Locked Data reference fault */
case 1: /* Gate intercept trap */ case 1: /* Gate intercept trap */
return -1; return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment