lkml.org 
[lkml]   [2010]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateTue, 24 Aug 2010 14:39:58 +0300
FromAvi Kivity <>
SubjectRe: [PATCH 1/3] x86: allow kernel exception fixup for divide errors (#DE)
  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



\
 
 \ /
  Last update: 2010-08-24 13:43    [from the cache]
©2003-2010