The fault handling code sets the cr2, trap_nr, and error_code fields
in thread_struct before OOPSing. No one reads those fields during
an OOPS, so remove the code to set them.
Signed-off-by: Andy Lutomirski
---
arch/x86/mm/fault.c | 8
1 file changed, 8 deletions(-)
diff --git
The fault handling code sets the cr2, trap_nr, and error_code fields
in thread_struct before OOPSing. No one reads those fields during
an OOPS, so remove the code to set them.
Signed-off-by: Andy Lutomirski
---
arch/x86/mm/fault.c | 8
1 file changed, 8 deletions(-)
diff --git
2 matches
Mail list logo