arch/x86/exception.c: Remove double initialization
In procedure exception_init(), structure pointer gates is initialized twice. Remove one initialization. BUG=b:112253891 TEST=Build and boot grunt. Change-Id: If0280963e8b796f795e77a11569277dcf16b4507 Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com> Reviewed-on: https://review.coreboot.org/27948 Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
569711a4ff
commit
b1299c7aab
|
@ -622,7 +622,7 @@ asmlinkage void exception_init(void)
|
|||
{
|
||||
int i;
|
||||
uint16_t segment;
|
||||
struct intr_gate *gates = car_get_var_ptr(idt);
|
||||
struct intr_gate *gates;
|
||||
|
||||
segment = get_cs();
|
||||
gates = car_get_var_ptr(idt);
|
||||
|
|
Loading…
Reference in New Issue