Re: [PATCH 1/3] x86: allow kernel exception fixup for divide errors (#DE)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 On 08/24/2010 02:22 PM, Brian Gerst wrote:

+dotraplinkage void do_divide_error(struct pt_regs *regs, long error_code)
+{
+       if (!user_mode_vm(regs)&&  fixup_exception(regs))
+               return;
+       do_divide_error_user(regs, error_code);
+}
+
  #ifdef CONFIG_X86_64
  /* Runs on IST stack */
  dotraplinkage void do_stack_segment(struct pt_regs *regs, long error_code)
Kernel mode exceptions should already be handled by do_trap().  This
is unnecessary.

Correct. Please ignore this patch. I've verified that the other two work without it.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux