[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C73AF8E.60603@redhat.com>
Date: Tue, 24 Aug 2010 14:39:58 +0300
From: Avi Kivity <avi@...hat.com>
To: Brian Gerst <brgerst@...il.com>
CC: x86@...nel.org, kvm@...r.kernel.org,
Marcelo Tosatti <mtosatti@...hat.com>,
linux-kernel@...r.kernel.org
Subject: Re: [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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists