Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113500
b: refs/heads/master
c: c6df0d7
h: refs/heads/master
v: v3
  • Loading branch information
Alexander van Heukelum authored and Ingo Molnar committed Oct 13, 2008
1 parent 6efd9a5 commit 9d17903
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f5ca81878b42ae7d1b00d0ed5f62bb1a158bfac1
refs/heads/master: c6df0d71bec391e78e0a38109d63154acd69a937
4 changes: 3 additions & 1 deletion trunk/arch/x86/kernel/traps_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,8 @@ do_general_protection(struct pt_regs *regs, long error_code)
struct tss_struct *tss;
int cpu;

conditional_sti(regs);

cpu = get_cpu();
tss = &per_cpu(init_tss, cpu);
thread = &current->thread;
Expand Down Expand Up @@ -1273,7 +1275,7 @@ void __init trap_init(void)
set_intr_gate(10, &invalid_TSS);
set_intr_gate(11, &segment_not_present);
set_intr_gate(12, &stack_segment);
set_trap_gate(13, &general_protection);
set_intr_gate(13, &general_protection);
set_intr_gate(14, &page_fault);
set_trap_gate(15, &spurious_interrupt_bug);
set_trap_gate(16, &coprocessor_error);
Expand Down

0 comments on commit 9d17903

Please sign in to comment.