Skip to content

Commit

Permalink
[IA64] Fix trap #45 handling
Browse files Browse the repository at this point in the history
In this case, the original author did not provide the related reason
string for die_if_kernel(), so the 'buf' is not initialized.

The original author wants to generic a 'SIGSEGV' and 'return', not want
to 'break' to fall to die.

[Probably irrelevent since we no longer support IA-32 execution. -Tony]

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Chen Gang authored and Tony Luck committed Jun 3, 2013
1 parent d683b96 commit 169ec52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/ia64/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ ia64_fault (unsigned long vector, unsigned long isr, unsigned long ifa,
printk(KERN_ERR " iip - 0x%lx, ifa - 0x%lx, isr - 0x%lx\n",
iip, ifa, isr);
force_sig(SIGSEGV, current);
break;
return;

case 46:
printk(KERN_ERR "Unexpected IA-32 intercept trap (Trap 46)\n");
Expand Down

0 comments on commit 169ec52

Please sign in to comment.